summaryrefslogtreecommitdiffstats
path: root/lpf.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-06-20 15:37:15 +0000
committerRoy Marples <roy@marples.name>2008-06-20 15:37:15 +0000
commit38ff8d9250b1a6efbf922ce05ade196d98975563 (patch)
treead2dddcb13b074ed5b1c618be558aba7c9a26312 /lpf.c
parent8094302cf1393f570cad30fa24b90ebf27a86ff0 (diff)
downloaddhcpcd-38ff8d9250b1a6efbf922ce05ade196d98975563.tar.xz
Request as much as the packet as we can with buggy BPF filters.
Diffstat (limited to 'lpf.c')
-rw-r--r--lpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lpf.c b/lpf.c
index 646ccbb9..e18e6eca 100644
--- a/lpf.c
+++ b/lpf.c
@@ -40,7 +40,7 @@
# define bpf_insn sock_filter
# define BPF_SKIPTYPE
# define BPF_ETHCOOK -ETH_HLEN
-# define BPF_WHOLEPACKET 65535 /* work around buggy LPF filters */
+# define BPF_WHOLEPACKET 0x0fffffff /* work around buggy LPF filters */
#endif
#include <errno.h>