updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / arping / arping-HAVE_NET_BPF_H.patch
blobb973d7f069be2d609fa836a4bad6e73d334d620d
1 diff -rupN arping-2.09/src/arping.c arping-2.09.new/src/arping.c
2 --- arping-2.09/src/arping.c 2010-04-01 12:48:36.000000000 -0400
3 +++ arping-2.09.new/src/arping.c 2011-12-01 03:06:59.318850553 -0500
4 @@ -1271,7 +1271,7 @@ int main(int argc, char **argv)
5 pcap_get_selectable_fd(pcap));
8 -#if HAVE_NET_BPF_H
9 +#ifdef BIOCIMMEDIATE
11 uint32_t on = 1;
12 if (0 < (ioctl(pcap_fileno(pcap), BIOCIMMEDIATE,