瀏覽代碼

[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 年之前
父節點
當前提交
eb3f8f5e22
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.