Browse Source

[NET]: BRIDGE_EBT_ARPREPLY must depend on INET

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>
Adrian Bunk 20 years ago
parent
commit
eb3f8f5e22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/bridge/netfilter/Kconfig

+ 1 - 1
net/bridge/netfilter/Kconfig

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