diff options
-rw-r--r-- | contrib/pf/pflogd/pflogd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/pf/pflogd/pflogd.c b/contrib/pf/pflogd/pflogd.c index 84a9c94..6ef6a77 100644 --- a/contrib/pf/pflogd/pflogd.c +++ b/contrib/pf/pflogd/pflogd.c @@ -216,15 +216,11 @@ init_pcap(void) cur_snaplen = snaplen = pcap_snapshot(hpcap); -#ifdef __FreeBSD__ - /* We can not lock bpf devices ... yet */ -#else /* lock */ if (ioctl(pcap_fileno(hpcap), BIOCLOCK) < 0) { logmsg(LOG_ERR, "BIOCLOCK: %s", strerror(errno)); return (-1); } -#endif return (0); } |