diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-10 14:59:18 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-10 14:59:18 -0400 |
commit | 741efd6ee2f0defb40def8351d3f5a92fc0ab7c8 (patch) | |
tree | dcc3711c179264f1b74f97aa606907f52a8066a0 /lib/libpcap/patches | |
parent | 0d0ad219a6366e30e1b1ae41f79c8e10a21ade6d (diff) | |
parent | d7dbd335bfc76ace0a0d3a13a5ba83b7c6734bfc (diff) | |
download | apple_cmds-741efd6ee2f0defb40def8351d3f5a92fc0ab7c8.tar.gz apple_cmds-741efd6ee2f0defb40def8351d3f5a92fc0ab7c8.tar.zst apple_cmds-741efd6ee2f0defb40def8351d3f5a92fc0ab7c8.zip |
Merge branch 'apple'
Diffstat (limited to 'lib/libpcap/patches')
-rw-r--r-- | lib/libpcap/patches/pcap-bpf.c.diff | 11 |
1 files changed, 11 insertions, 0 deletions
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) { |