summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_ip.t
Commit message (Collapse)AuthorAgeFilesLines
* ebtables: use extrapositioned negation consistentlyFlorian Westphal2018-11-121-3/+5
| | | | | | | | | | | | | | in the iptables universe, we enforce extrapositioned negation: ! -i foo "-i ! foo" is not even supported anymore. At least make sure that ebtables prints the former syntax everywhere as well so we don't have a mix of both ways. Parsing of --option ! 42 will still work for backwards compat reasons. Signed-off-by: Florian Westphal <fw@strlen.de>
* extensions: libebt_ip: fix tos negationFlorian Westphal2018-11-051-0/+1
| | | | | | | | passing ->tos as uintmax_t will clear adjacent fields in the structure, including invflags. Fixes: 49479aa12a15 ("ebtables-compat: add 'ip' match extension") Signed-off-by: Florian Westphal <fw@strlen.de>
* ebtables: add test casesFlorian Westphal2018-11-031-0/+10
Signed-off-by: Florian Westphal <fw@strlen.de>