From d88d199f23088ac1c3d7696374b0a1c1c1c18358 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Mon, 10 May 2021 14:55:20 -0400 Subject: libpcap-98.40.1 --- lib/libpcap/patches/pcap-bpf.c.diff | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/libpcap/patches/pcap-bpf.c.diff (limited to 'lib/libpcap/patches/pcap-bpf.c.diff') diff --git a/lib/libpcap/patches/pcap-bpf.c.diff b/lib/libpcap/patches/pcap-bpf.c.diff new file mode 100644 index 0000000..e6dadd2 --- /dev/null +++ b/lib/libpcap/patches/pcap-bpf.c.diff @@ -0,0 +1,11 @@ +--- pcap-bpf.c.orig 2008-10-10 19:42:44.000000000 -0700 ++++ pcap-bpf.c 2009-09-01 19:54:11.000000000 -0700 +@@ -1860,7 +1860,7 @@ + * (Treating it as such doesn't fix the timeout + * problem described below.) + */ +- struct timeval to; ++ struct BPF_TIMEVAL to; + to.tv_sec = p->md.timeout / 1000; + to.tv_usec = (p->md.timeout * 1000) % 1000000; + if (ioctl(p->fd, BIOCSRTIMEOUT, (caddr_t)&to) < 0) { -- cgit v1.2.3-56-ge451