summaryrefslogtreecommitdiffstats
path: root/iptables/nft.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-10 11:42:16 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-10 11:49:15 +0200
commit514de4801b731db471298f4508f9534bcefec006 (patch)
tree5c1c035cc803e261929429c6cba61c75a23c8f90 /iptables/nft.c
parent528cbf99ff6062420270e637df4d40a77514fe56 (diff)
ebtables: Remove flags misinterpretations
This is actually quite a mess: xtables-eb.c defines names for bits in 'flags' variable of do_commandeb(), though these tend to clash with bit names defined in xshared.h due to the same 'OPT_' prefix. Therefore checking for bits OPT_NUMERIC and OPT_VERBOSE is syntactically correct, but semantically wrong as they actually refer to bits OPT_COMMAND and OPT_PROTOCOL. Since ebtables doesn't support numeric nor verbose modes, just replace the checks with zero values. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft.c')
0 files changed, 0 insertions, 0 deletions