]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_hashlimit: fix unused variable warning if IPv6 disabled
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 11 Jan 2012 00:52:17 +0000 (11:52 +1100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Jan 2012 12:40:54 +0000 (13:40 +0100)
commit36d1169e50a31abf3059dd1269799883fd4748ab
treea05bc418b5d943ba4c8d33cc3d8fe24c11d0a67d
parent0c1869ea2e362e92b08a5019ceb01390d87fe987
netfilter: xt_hashlimit: fix unused variable warning if IPv6 disabled

Fixes this warning when CONFIG_IP6_NF_IPTABLES is not enabled:

net/netfilter/xt_hashlimit.c: In function ‘hashlimit_init_dst’:
net/netfilter/xt_hashlimit.c:448:9: warning: unused variable ‘frag_off’ [-Wunused-variable]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_hashlimit.c