]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Make !NETFILTER_ADVANCED enable IP6_NF_MATCH_IPV6HEADER
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jan 2008 13:26:10 +0000 (00:26 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jan 2008 13:26:10 +0000 (00:26 +1100)
We want IPV6HEADER matching for the non-advanced default netfilter
configuration, since it's part of the standard netfilter setup of at
least some distributions (eg Fedora).

Otherwise NETFILTER_ADVANCED loses much of its point, since even
non-advanced users would have to enable all the advanced options just to
get a working IPv6 netfilter setup.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/ipv6/netfilter/Kconfig

index 4fc0b023cfd703c5a0aa3b81bd8f8e8e8517303d..6cae5475737e530c94024c9b3a70f820b020f64a 100644 (file)
@@ -99,7 +99,7 @@ config IP6_NF_MATCH_HL
 config IP6_NF_MATCH_IPV6HEADER
        tristate '"ipv6header" IPv6 Extension Headers Match'
        depends on IP6_NF_IPTABLES
-       depends on NETFILTER_ADVANCED
+       default m if NETFILTER_ADVANCED=n
        help
          This module allows one to match packets based upon
          the ipv6 extension headers.