From: Roy Marples Date: Fri, 20 Jun 2008 15:37:15 +0000 (+0000) Subject: Request as much as the packet as we can with buggy BPF filters. X-Git-Tag: v4.0.2~268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38ff8d9250b1a6efbf922ce05ade196d98975563;p=thirdparty%2Fdhcpcd.git Request as much as the packet as we can with buggy BPF filters. --- 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