[NET]: BRIDGE_EBT_ARPREPLY must depend on INET
authorAdrian Bunk <bunk@stusta.de>
Tue, 19 Jul 2005 21:00:13 +0000 (14:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2005 21:00:13 +0000 (14:00 -0700)
BRIDGE_EBT_ARPREPLY=y and INET=n results in the following compile error:

net/built-in.o: In function `ebt_target_reply':
ebt_arpreply.c:(.text+0x68fb9): undefined reference to `arp_send'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/Kconfig

index 68ccef507b496055428cda62b34e238f5db65554..c70b3be230265fda2951a5d25bff0516c0921f4d 100644 (file)
@@ -138,7 +138,7 @@ config BRIDGE_EBT_VLAN
 #
 config BRIDGE_EBT_ARPREPLY
        tristate "ebt: arp reply target support"
-       depends on BRIDGE_NF_EBTABLES
+       depends on BRIDGE_NF_EBTABLES && INET
        help
          This option adds the arp reply target, which allows
          automatically sending arp replies to arp requests.