summaryrefslogtreecommitdiff
path: root/module/bsnmp-pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/bsnmp-pcap.c')
-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;