]> git.ipfire.org Git - thirdparty/ipset.git/commit
bitmap:ip,mac type requires "src" for MAC
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 8 Apr 2011 14:04:22 +0000 (16:04 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 8 Apr 2011 14:04:22 +0000 (16:04 +0200)
commitc0fc3e499f4bacbb7a1976afe33af143d34b068e
tree86df395a0be148c0d81252a2763b622bb1741e98
parent202ca992312b908e410bed9a480e715e3bca660b
bitmap:ip,mac type requires "src" for MAC

Enforce that the second "src/dst" parameter of the set match and SET target
must be "src", because we have access to the source MAC only in the packet.
The previous behaviour, that the type required the second parameter
but actually ignored the value was counter-intuitive and confusing.

Manpage is updated to reflect the change.
kernel/net/netfilter/ipset/ip_set_bitmap_ipmac.c
src/ipset.8