Browse Source

netfilter: Don't hide NETFILTER_XT_MATCH_ADDRTYPE behind NETFILTER_ADVANCED

Docker needs NETFILTER_XT_MATCH_ADDRTYPE, so move it out from behind
NETFILTER_ADVANCED and make it default to a module.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Anton Blanchard 10 years ago
parent
commit
5cca4ace0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/netfilter/Kconfig

+ 1 - 1
net/netfilter/Kconfig

@@ -951,7 +951,7 @@ comment "Xtables matches"
 
 
 config NETFILTER_XT_MATCH_ADDRTYPE
 config NETFILTER_XT_MATCH_ADDRTYPE
 	tristate '"addrtype" address type match support'
 	tristate '"addrtype" address type match support'
-	depends on NETFILTER_ADVANCED
+	default m if NETFILTER_ADVANCED=n
 	---help---
 	---help---
 	  This option allows you to match what routing thinks of an address,
 	  This option allows you to match what routing thinks of an address,
 	  eg. UNICAST, LOCAL, BROADCAST, ...
 	  eg. UNICAST, LOCAL, BROADCAST, ...