netfilter: xt_addrtype: replace rt6_lookup with nf_afinfo->route
authorFlorian Westphal <fw@strlen.de>
Mon, 4 Apr 2011 15:01:43 +0000 (17:01 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 4 Apr 2011 15:01:43 +0000 (17:01 +0200)
commitb7225041e93f81e7e38fcdf27fc82044e7695efd
tree75291a5f780d4032f6076a628aab6266196bb59b
parent0fae2e7740aca7e384c5f337f458897e7e337d58
netfilter: xt_addrtype: replace rt6_lookup with nf_afinfo->route

This avoids pulling in the ipv6 module when using (ipv4-only) iptables
-m addrtype.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/Kconfig
net/netfilter/xt_addrtype.c