]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
NETFILTER: Kconfig: fix xt_physdev dependencies
authorPatrick McHardy <kaber@trash.net>
Sat, 24 Mar 2007 20:18:01 +0000 (21:18 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sat, 24 Mar 2007 20:18:01 +0000 (21:18 +0100)
xt_physdev depends on bridge netfilter, which is a boolean, but can still
be built modular because of special handling in the bridge makefile. Add
a dependency on BRIDGE to prevent XT_MATCH_PHYSDEV=y, BRIDGE=m.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/netfilter/Kconfig

index a8e5544da93e62a7991ce75c51329543da5fd4bb..215aada435bb587c4d1db420ab0dbae39aad53b4 100644 (file)
@@ -281,7 +281,7 @@ config NETFILTER_XT_MATCH_MARK
 
 config NETFILTER_XT_MATCH_PHYSDEV
        tristate '"physdev" match support'
-       depends on NETFILTER_XTABLES && BRIDGE_NETFILTER
+       depends on NETFILTER_XTABLES && BRIDGE && BRIDGE_NETFILTER
        help
          Physdev packet matching matches against the physical bridge ports
          the IP packet arrived on or will leave by.