summaryrefslogtreecommitdiffstats
path: root/include/ebtables_u.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-11-12 17:50:27 +0100
committerFlorian Westphal <fw@strlen.de>2018-11-12 18:18:03 +0100
commitca223bf49807d55c80d4fe1604dc943e6dc069d7 (patch)
treed03ebfb720a918e17ae8f1fb418e7036c5ea29a5 /include/ebtables_u.h
parent3de42b55ae249573425d11a5d77ab65f4bc5c628 (diff)
extensions: among: Fix bitmask check
Boolean AND was applied instead of binary one, causing the exclamation mark to be printed whenever info->bitmask was non-zero. In practice, this leads to incorrect output if e.g. --among-src was given with an inverted match as well as --among-dst with a non-inverted one. Output would then list both matches as inverted. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/ebtables_u.h')
0 files changed, 0 insertions, 0 deletions