netfilter: ipset: fix linking with CONFIG_IPV6=n
authorPatrick McHardy <kaber@trash.net>
Wed, 2 Feb 2011 22:50:01 +0000 (23:50 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 2 Feb 2011 22:50:01 +0000 (23:50 +0100)
Add a dummy ip_set_get_ip6_port function that unconditionally
returns false for CONFIG_IPV6=n and convert the real function
to ipv6_skip_exthdr() to avoid pulling in the ip6_tables module
when loading ipset.

Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found