summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-04-12 02:42:15 +0000
committerStef Walter <stef@memberwebs.com>2008-04-12 02:42:15 +0000
commit187981d7533ddb4f409ef5ab7e1b45c36ed09525 (patch)
tree302055a22a97ccb7df4c8968e76ad14a07649372
parent3b56eb16c089aa21fc74992c6047299ec1b142c4 (diff)
Make pcap promiscuous
-rw-r--r--module/bsnmp-pcap.c2
1 files changed, 1 insertions, 1 deletions
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;