summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-03-05 21:05:24 +0000
committerRoy Marples <roy@marples.name>2017-03-05 21:05:24 +0000
commitbf66a5d998f78c0acbeb66e35d1aa63cc375e461 (patch)
treed9cbb215bafb75b22bdb1cb61debb22fcfa1e56e /configure
parenta1997a1d5268357a906aed94c16f14ed20e4d7ab (diff)
downloaddhcpcd-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-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 59b79593..236bf281 100755
--- a/configure
+++ b/configure
@@ -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