diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-03-05 08:56:15 -0500 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-03-05 19:21:15 -0500 |
commit | f04e599e20d7ee9b9e5069c7d1ff59c21b9bf4c2 (patch) | |
tree | e45521cb3e3a53661844e404598d829410ac674c /net/ipv6 | |
parent | 1a1e1a12199ca27cebe87677b4c2153a3d2bacf2 (diff) |
netfilter: nf_tables: consolidate Kconfig options
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/Kconfig | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/net/ipv6/netfilter/Kconfig b/net/ipv6/netfilter/Kconfig index a069822936e6..ca6998345b42 100644 --- a/net/ipv6/netfilter/Kconfig +++ b/net/ipv6/netfilter/Kconfig | |||
@@ -25,14 +25,16 @@ config NF_CONNTRACK_IPV6 | |||
25 | 25 | ||
26 | To compile it as a module, choose M here. If unsure, say N. | 26 | To compile it as a module, choose M here. If unsure, say N. |
27 | 27 | ||
28 | if NF_TABLES | ||
29 | |||
28 | config NF_TABLES_IPV6 | 30 | config NF_TABLES_IPV6 |
29 | depends on NF_TABLES | ||
30 | tristate "IPv6 nf_tables support" | 31 | tristate "IPv6 nf_tables support" |
31 | help | 32 | help |
32 | This option enables the IPv6 support for nf_tables. | 33 | This option enables the IPv6 support for nf_tables. |
33 | 34 | ||
35 | if NF_TABLES_IPV6 | ||
36 | |||
34 | config NFT_CHAIN_ROUTE_IPV6 | 37 | config NFT_CHAIN_ROUTE_IPV6 |
35 | depends on NF_TABLES_IPV6 | ||
36 | tristate "IPv6 nf_tables route chain support" | 38 | tristate "IPv6 nf_tables route chain support" |
37 | help | 39 | help |
38 | This option enables the "route" chain for IPv6 in nf_tables. This | 40 | This option enables the "route" chain for IPv6 in nf_tables. This |
@@ -40,16 +42,18 @@ config NFT_CHAIN_ROUTE_IPV6 | |||
40 | fields such as the source, destination, flowlabel, hop-limit and | 42 | fields such as the source, destination, flowlabel, hop-limit and |
41 | the packet mark. | 43 | the packet mark. |
42 | 44 | ||
43 | config NF_REJECT_IPV6 | ||
44 | tristate "IPv6 packet rejection" | ||
45 | default m if NETFILTER_ADVANCED=n | ||
46 | |||
47 | config NFT_REJECT_IPV6 | 45 | config NFT_REJECT_IPV6 |
48 | depends on NF_TABLES_IPV6 | ||
49 | select NF_REJECT_IPV6 | 46 | select NF_REJECT_IPV6 |
50 | default NFT_REJECT | 47 | default NFT_REJECT |
51 | tristate | 48 | tristate |
52 | 49 | ||
50 | endif # NF_TABLES_IPV6 | ||
51 | endif # NF_TABLES | ||
52 | |||
53 | config NF_REJECT_IPV6 | ||
54 | tristate "IPv6 packet rejection" | ||
55 | default m if NETFILTER_ADVANCED=n | ||
56 | |||
53 | config NF_LOG_IPV6 | 57 | config NF_LOG_IPV6 |
54 | tristate "IPv6 packet logging" | 58 | tristate "IPv6 packet logging" |
55 | default m if NETFILTER_ADVANCED=n | 59 | default m if NETFILTER_ADVANCED=n |