From 187981d7533ddb4f409ef5ab7e1b45c36ed09525 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 12 Apr 2008 02:42:15 +0000 Subject: Make pcap promiscuous --- module/bsnmp-pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') diff --git a/module/bsnmp-pcap.c b/module/bsnmp-pcap.c index 21224ca..9a1aa45 100644 --- a/module/bsnmp-pcap.c +++ b/module/bsnmp-pcap.c @@ -254,7 +254,7 @@ monitor_start (struct monitor *mon) ASSERT (mon->device); ASSERT (mon->filter); - mon->handle = pcap_open_live (mon->device, SNAP_LEN, 0, 100, errbuf); + mon->handle = pcap_open_live (mon->device, SNAP_LEN, 1, 100, errbuf); if (!mon->handle) { emsg ("couldn't open monitor on %s: %s", mon->device, errbuf); return; -- cgit v1.2.3