summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-01-12 17:07:05 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-01-13 09:27:34 +0100
commit9b0be3d2545bfd0b482883bada1f4f0410b683ef (patch)
tree360278b59f4e31f91d70ca9539abccb494012def /tests
parenta8013e5b2430e852207c9622cd881b686e464022 (diff)
netfilter: ipset: allow a 0 netmask with hash_netiface type
Jozsef says: The correct behaviour is that if we have ipset create test1 hash:net,iface ipset add test1 0.0.0.0/0,eth0 iptables -A INPUT -m set --match-set test1 src,src then the rule should match for any traffic coming in through eth0. This removes the -EINVAL runtime test to make matching work in case packet arrived via the specified interface. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1297092 Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions