Commit 293a4f28 authored by Eric Leblond's avatar Eric Leblond Committed by David S. Miller

netfilter: xt_NFLOG is dependant of nfnetlink_log

The patch "don't call nf_log_packet in NFLOG module" make xt_NFLOG
dependant of nfnetlink_log. This patch forces the dependencies to fix
compilation in case only xt_NFLOG compilation was asked and modifies the
help message accordingly to the change.
Signed-off-by: default avatarEric Leblond <eric@inl.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8229efda
...@@ -373,11 +373,10 @@ config NETFILTER_XT_TARGET_MARK ...@@ -373,11 +373,10 @@ config NETFILTER_XT_TARGET_MARK
config NETFILTER_XT_TARGET_NFLOG config NETFILTER_XT_TARGET_NFLOG
tristate '"NFLOG" target support' tristate '"NFLOG" target support'
default m if NETFILTER_ADVANCED=n default m if NETFILTER_ADVANCED=n
select NETFILTER_NETLINK_LOG
help help
This option enables the NFLOG target, which allows to LOG This option enables the NFLOG target, which allows to LOG
messages through the netfilter logging API, which can use messages through nfnetlink_log.
either the old LOG target, the old ULOG target or nfnetlink_log
as backend.
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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment