svn commit: r190230 - head/contrib/libpcap
Rui Paulo
rpaulo at FreeBSD.org
Sat Mar 21 16:13:50 PDT 2009
Author: rpaulo
Date: Sat Mar 21 23:13:48 2009
New Revision: 190230
URL: http://svn.freebsd.org/changeset/base/190230
Log:
Remove remaining references to BIOCSETBUFMODE ifdefs. We now have
another ifdef for zerocopy bpf.
Modified:
head/contrib/libpcap/pcap-bpf.c
Modified: head/contrib/libpcap/pcap-bpf.c
==============================================================================
--- head/contrib/libpcap/pcap-bpf.c Sat Mar 21 23:08:04 2009 (r190229)
+++ head/contrib/libpcap/pcap-bpf.c Sat Mar 21 23:13:48 2009 (r190230)
@@ -93,10 +93,6 @@ static int odmlockid = 0;
#endif /* _AIX */
-#ifdef BIOCSETBUFMODE
-#include <machine/atomic.h>
-#endif
-
#include <ctype.h>
#include <errno.h>
#include <netdb.h>
@@ -1893,9 +1889,6 @@ pcap_activate_bpf(pcap_t *p)
goto bad;
}
}
-#ifdef BIOCSETBUFMODE
- p->timeout = to_ms;
-#endif
#ifdef _AIX
#ifdef BIOCIMMEDIATE
More information about the svn-src-all
mailing list