mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
4f1c3b7e7e
commit
4323362e49
|
@ -92,6 +92,15 @@ config IP_NF_MATCH_ECN
|
||||||
|
|
||||||
To compile it as a module, choose M here. If unsure, say N.
|
To compile it as a module, choose M here. If unsure, say N.
|
||||||
|
|
||||||
|
config IP_NF_MATCH_TTL
|
||||||
|
tristate '"ttl" match support'
|
||||||
|
depends on NETFILTER_ADVANCED
|
||||||
|
select NETFILTER_XT_MATCH_HL
|
||||||
|
---help---
|
||||||
|
This is a backwards-compat option for the user's convenience
|
||||||
|
(e.g. when running oldconfig). It selects
|
||||||
|
COFNIG_NETFILTER_XT_MATCH_HL.
|
||||||
|
|
||||||
# `filter', generic and specific targets
|
# `filter', generic and specific targets
|
||||||
config IP_NF_FILTER
|
config IP_NF_FILTER
|
||||||
tristate "Packet filtering"
|
tristate "Packet filtering"
|
||||||
|
@ -313,6 +322,15 @@ config IP_NF_TARGET_ECN
|
||||||
|
|
||||||
To compile it as a module, choose M here. If unsure, say N.
|
To compile it as a module, choose M here. If unsure, say N.
|
||||||
|
|
||||||
|
config IP_NF_TARGET_TTL
|
||||||
|
tristate '"TTL" target support'
|
||||||
|
depends on NETFILTER_ADVANCED
|
||||||
|
select NETFILTER_XT_TARGET_HL
|
||||||
|
---help---
|
||||||
|
This is a backwards-compat option for the user's convenience
|
||||||
|
(e.g. when running oldconfig). It selects
|
||||||
|
COFNIG_NETFILTER_XT_TARGET_HL.
|
||||||
|
|
||||||
# raw + specific targets
|
# raw + specific targets
|
||||||
config IP_NF_RAW
|
config IP_NF_RAW
|
||||||
tristate 'raw table support (required for NOTRACK/TRACE)'
|
tristate 'raw table support (required for NOTRACK/TRACE)'
|
||||||
|
|
|
@ -94,6 +94,15 @@ config IP6_NF_MATCH_OPTS
|
||||||
|
|
||||||
To compile it as a module, choose M here. If unsure, say N.
|
To compile it as a module, choose M here. If unsure, say N.
|
||||||
|
|
||||||
|
config IP6_NF_MATCH_HL
|
||||||
|
tristate '"hl" hoplimit match support'
|
||||||
|
depends on NETFILTER_ADVANCED
|
||||||
|
select NETFILTER_XT_MATCH_HL
|
||||||
|
---help---
|
||||||
|
This is a backwards-compat option for the user's convenience
|
||||||
|
(e.g. when running oldconfig). It selects
|
||||||
|
COFNIG_NETFILTER_XT_MATCH_HL.
|
||||||
|
|
||||||
config IP6_NF_MATCH_IPV6HEADER
|
config IP6_NF_MATCH_IPV6HEADER
|
||||||
tristate '"ipv6header" IPv6 Extension Headers Match'
|
tristate '"ipv6header" IPv6 Extension Headers Match'
|
||||||
default m if NETFILTER_ADVANCED=n
|
default m if NETFILTER_ADVANCED=n
|
||||||
|
@ -121,6 +130,15 @@ config IP6_NF_MATCH_RT
|
||||||
To compile it as a module, choose M here. If unsure, say N.
|
To compile it as a module, choose M here. If unsure, say N.
|
||||||
|
|
||||||
# The targets
|
# The targets
|
||||||
|
config IP6_NF_TARGET_HL
|
||||||
|
tristate '"HL" hoplimit target support'
|
||||||
|
depends on NETFILTER_ADVANCED
|
||||||
|
select NETFILTER_XT_TARGET_HL
|
||||||
|
---help---
|
||||||
|
This is a backwards-compat option for the user's convenience
|
||||||
|
(e.g. when running oldconfig). It selects
|
||||||
|
COFNIG_NETFILTER_XT_TARGET_HL.
|
||||||
|
|
||||||
config IP6_NF_TARGET_LOG
|
config IP6_NF_TARGET_LOG
|
||||||
tristate "LOG target support"
|
tristate "LOG target support"
|
||||||
default m if NETFILTER_ADVANCED=n
|
default m if NETFILTER_ADVANCED=n
|
||||||
|
|
Loading…
Reference in New Issue