diff options
author | Florian Westphal <fw@strlen.de> | 2016-01-12 17:07:05 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2016-01-13 09:27:34 +0100 |
commit | 9b0be3d2545bfd0b482883bada1f4f0410b683ef (patch) | |
tree | 360278b59f4e31f91d70ca9539abccb494012def /tests | |
parent | a8013e5b2430e852207c9622cd881b686e464022 (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