提交 83827f6a 编写于 作者: R Randy Dunlap 提交者: David S. Miller

netfilter: xt_TEE depends on NF_CONNTRACK

Fix xt_TEE build for the case of NF_CONNTRACK=m and
NETFILTER_XT_TARGET_TEE=y:

xt_TEE.c:(.text+0x6df5c): undefined reference to `nf_conntrack_untracked'
4x

Built with all 4 m/y combinations.
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6df900e9
...@@ -506,6 +506,7 @@ config NETFILTER_XT_TARGET_TEE ...@@ -506,6 +506,7 @@ config NETFILTER_XT_TARGET_TEE
tristate '"TEE" - packet cloning to alternate destiantion' tristate '"TEE" - packet cloning to alternate destiantion'
depends on NETFILTER_ADVANCED depends on NETFILTER_ADVANCED
depends on (IPV6 || IPV6=n) depends on (IPV6 || IPV6=n)
depends on !NF_CONNTRACK || NF_CONNTRACK
---help--- ---help---
This option adds a "TEE" target with which a packet can be cloned and This option adds a "TEE" target with which a packet can be cloned and
this clone be rerouted to another nexthop. this clone be rerouted to another nexthop.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册