diff options
| author | Roy Marples <roy@marples.name> | 2017-03-05 21:05:24 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-03-05 21:05:24 +0000 |
| commit | bf66a5d998f78c0acbeb66e35d1aa63cc375e461 (patch) | |
| tree | d9cbb215bafb75b22bdb1cb61debb22fcfa1e56e /configure | |
| parent | a1997a1d5268357a906aed94c16f14ed20e4d7ab (diff) | |
| download | dhcpcd-bf66a5d998f78c0acbeb66e35d1aa63cc375e461.tar.xz | |
bpf: ARP and BOOTP filter improvements
The ARP filter now checks hardware and protocol length matches
the interface, it's not from the interface itself and either the
source ip or target ip is one of our addresses of interest.
The BOOTP filter now checks for BOOTREPLY and matching xid.
If the interface hardware address fits inside chaddr then
that is checked as well.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -457,7 +457,7 @@ esac if [ -z "$INET" -o "$INET" = yes ]; then echo "Enabling INET support" echo "CPPFLAGS+= -DINET" >>$CONFIG_MK - echo "DHCPCD_SRCS+= dhcp.c ipv4.c" >>$CONFIG_MK + echo "DHCPCD_SRCS+= dhcp.c ipv4.c bpf.c" >>$CONFIG_MK if [ -z "$ARP" -o "$ARP" = yes ]; then echo "Enabling ARP support" echo "CPPFLAGS+= -DARP" >>$CONFIG_MK |
