netfilter: tproxy: fix build with IP6_NF_IPTABLES=n
authorFlorian Westphal <fw@strlen.de>
Sun, 4 Aug 2013 09:37:29 +0000 (11:37 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Aug 2013 10:57:38 +0000 (12:57 +0200)
commitd8b3bfc253d8063fcce9c447ecc4cf3b1735b13a
tree963d27569e92a7ee5d5b0555193e96e2f3b89f9b
parent12e7ada385eada77854174ecaf469a0791277ddd
netfilter: tproxy: fix build with IP6_NF_IPTABLES=n

after commit 93742cf (netfilter: tproxy: remove nf_tproxy_core.h)

CONFIG_IPV6=y
CONFIG_IP6_NF_IPTABLES=n

gives us:

net/netfilter/xt_TPROXY.c: In function 'nf_tproxy_get_sock_v6':
net/netfilter/xt_TPROXY.c:178:4: error: implicit declaration of function 'inet6_lookup_listener'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_TPROXY.c