]> 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)
commit86c471a057425f6956af17ba83efa4d8a2413239
treeecdc04db5d540858e3186fd762498d7d7e1d8c02
parent68fb7980b4229ad85abc0e6dafaf39e2aac08701
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