netfilter: Don't hide NETFILTER_XT_MATCH_ADDRTYPE behind NETFILTER_ADVANCED
authorAnton Blanchard <anton@samba.org>
Tue, 20 Jan 2015 23:53:50 +0000 (10:53 +1100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 11 Feb 2015 15:09:29 +0000 (16:09 +0100)
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>
net/netfilter/Kconfig

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