]> granicus.if.org Git - ipset/commit
Take into account cidr value for the from address when creating the set
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sun, 22 May 2011 10:18:36 +0000 (12:18 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sun, 22 May 2011 10:18:36 +0000 (12:18 +0200)
commitbba6bcb29f69831ab0e50a85d95884ce31293174
treed92f4b4fc7b0d31f13ea78fe85c8884283d2ad74
parentc9042dea600145c3e278a33de69ba5db70c7bcec
Take into account cidr value for the from address when creating the set

When creating a set from a range expressed as a network like
10.1.1.172/29, the from address was taken as the IP address part and
not masked with the netmask from the cidr.
kernel/net/netfilter/ipset/ip_set_bitmap_ip.c