]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: Use the stored first cidr value instead of '1'
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 1 Jun 2011 21:35:49 +0000 (23:35 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 5 Jun 2011 23:35:29 +0000 (01:35 +0200)
commitbde44957896de1d3dc776fcd8d1c5252ac42ffb9
treeecdc04db5d540858e3186fd762498d7d7e1d8c02
parent0b866bd79e4ed76a027d4569a204a4524af56a22
netfilter: ipset: Use the stored first cidr value instead of '1'

The stored cidr values are tried one after anoter. The boolean
condition evaluated to '1' instead of the first stored cidr or
the default host cidr.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipset/ip_set_hash_ipportnet.c
net/netfilter/ipset/ip_set_hash_net.c
net/netfilter/ipset/ip_set_hash_netport.c