]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit412662d204eca981458156fd64d9d5f3b533d7b6
treea05bc418b5d943ba4c8d33cc3d8fe24c11d0a67d
parent7c7c7f01cc5e3e423120a4848a73dd5e4586f2f9
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