netfilter: xt_TEE: use IS_ENABLED(CONFIG_NF_DUP_IPV6)
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Aug 2015 19:34:08 +0000 (21:34 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Aug 2015 20:08:41 +0000 (22:08 +0200)
commit116984a316c3a3200f8a7912110cc4a6d6c0989e
treefbe7b6b5fc45b0d366530ccbdb46587d123647f9
parent59e26423e00263b6b06b39d219147f22610ce5d6
netfilter: xt_TEE: use IS_ENABLED(CONFIG_NF_DUP_IPV6)

Instead of IS_ENABLED(CONFIG_IPV6), otherwise we hit:

et/built-in.o: In function `tee_tg6':
>> xt_TEE.c:(.text+0x6cd8c): undefined reference to `nf_dup_ipv6'

when:

 CONFIG_IPV6=y
 CONFIG_NF_DUP_IPV4=y
 # CONFIG_NF_DUP_IPV6 is not set
 CONFIG_NETFILTER_XT_TARGET_TEE=y

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_TEE.c