diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-19 05:16:03 -0500 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-02-19 05:16:03 -0500 |
commit | 4323362e49bd10b8ff3fe5cf183fdd52662ff4a3 (patch) | |
tree | 8b14f5327c58d762f61f13d0d840bbe9b307dff6 | |
parent | 4f1c3b7e7ee4d841c8af3a074dc361d6a7a77803 (diff) |
netfilter: xtables: add backward-compat options
Concern has been expressed about the changing Kconfig options.
Provide the old options that forward-select.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r-- | net/ipv4/netfilter/Kconfig | 18 | ||||
-rw-r--r-- | net/ipv6/netfilter/Kconfig | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig index 40ad41f19b72..f8d6180938d5 100644 --- a/net/ipv4/netfilter/Kconfig +++ b/net/ipv4/netfilter/Kconfig | |||
@@ -92,6 +92,15 @@ config IP_NF_MATCH_ECN | |||
92 | 92 | ||
93 | To compile it as a module, choose M here. If unsure, say N. | 93 | To compile it as a module, choose M here. If unsure, say N. |
94 | 94 | ||
95 | config IP_NF_MATCH_TTL | ||
96 | tristate '"ttl" match support' | ||
97 | depends on NETFILTER_ADVANCED | ||
98 | select NETFILTER_XT_MATCH_HL | ||
99 | ---help--- | ||
100 | This is a backwards-compat option for the user's convenience | ||
101 | (e.g. when running oldconfig). It selects | ||
102 | COFNIG_NETFILTER_XT_MATCH_HL. | ||
103 | |||
95 | # `filter', generic and specific targets | 104 | # `filter', generic and specific targets |
96 | config IP_NF_FILTER | 105 | config IP_NF_FILTER |
97 | tristate "Packet filtering" | 106 | tristate "Packet filtering" |
@@ -313,6 +322,15 @@ config IP_NF_TARGET_ECN | |||
313 | 322 | ||
314 | To compile it as a module, choose M here. If unsure, say N. | 323 | To compile it as a module, choose M here. If unsure, say N. |
315 | 324 | ||
325 | config IP_NF_TARGET_TTL | ||
326 | tristate '"TTL" target support' | ||
327 | depends on NETFILTER_ADVANCED | ||
328 | select NETFILTER_XT_TARGET_HL | ||
329 | ---help--- | ||
330 | This is a backwards-compat option for the user's convenience | ||
331 | (e.g. when running oldconfig). It selects | ||
332 | COFNIG_NETFILTER_XT_TARGET_HL. | ||
333 | |||
316 | # raw + specific targets | 334 | # raw + specific targets |
317 | config IP_NF_RAW | 335 | config IP_NF_RAW |
318 | tristate 'raw table support (required for NOTRACK/TRACE)' | 336 | tristate 'raw table support (required for NOTRACK/TRACE)' |
diff --git a/net/ipv6/netfilter/Kconfig b/net/ipv6/netfilter/Kconfig index 4a8d7ecd6d09..625353a5fe18 100644 --- a/net/ipv6/netfilter/Kconfig +++ b/net/ipv6/netfilter/Kconfig | |||
@@ -94,6 +94,15 @@ config IP6_NF_MATCH_OPTS | |||
94 | 94 | ||
95 | To compile it as a module, choose M here. If unsure, say N. | 95 | To compile it as a module, choose M here. If unsure, say N. |
96 | 96 | ||
97 | config IP6_NF_MATCH_HL | ||
98 | tristate '"hl" hoplimit match support' | ||
99 | depends on NETFILTER_ADVANCED | ||
100 | select NETFILTER_XT_MATCH_HL | ||
101 | ---help--- | ||
102 | This is a backwards-compat option for the user's convenience | ||
103 | (e.g. when running oldconfig). It selects | ||
104 | COFNIG_NETFILTER_XT_MATCH_HL. | ||
105 | |||
97 | config IP6_NF_MATCH_IPV6HEADER | 106 | config IP6_NF_MATCH_IPV6HEADER |
98 | tristate '"ipv6header" IPv6 Extension Headers Match' | 107 | tristate '"ipv6header" IPv6 Extension Headers Match' |
99 | default m if NETFILTER_ADVANCED=n | 108 | default m if NETFILTER_ADVANCED=n |
@@ -121,6 +130,15 @@ config IP6_NF_MATCH_RT | |||
121 | To compile it as a module, choose M here. If unsure, say N. | 130 | To compile it as a module, choose M here. If unsure, say N. |
122 | 131 | ||
123 | # The targets | 132 | # The targets |
133 | config IP6_NF_TARGET_HL | ||
134 | tristate '"HL" hoplimit target support' | ||
135 | depends on NETFILTER_ADVANCED | ||
136 | select NETFILTER_XT_TARGET_HL | ||
137 | ---help--- | ||
138 | This is a backwards-compat option for the user's convenience | ||
139 | (e.g. when running oldconfig). It selects | ||
140 | COFNIG_NETFILTER_XT_TARGET_HL. | ||
141 | |||
124 | config IP6_NF_TARGET_LOG | 142 | config IP6_NF_TARGET_LOG |
125 | tristate "LOG target support" | 143 | tristate "LOG target support" |
126 | default m if NETFILTER_ADVANCED=n | 144 | default m if NETFILTER_ADVANCED=n |