From 5f508b76a0cebaf91965ffa678089222e2d47964 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 12 Nov 2018 12:49:11 +0100 Subject: ebtables: use extrapositioned negation consistently 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 --- extensions/libebt_standard.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extensions/libebt_standard.t') diff --git a/extensions/libebt_standard.t b/extensions/libebt_standard.t index c0b87e12..72081fd6 100644 --- a/extensions/libebt_standard.t +++ b/extensions/libebt_standard.t @@ -5,3 +5,7 @@ -s de:ad:be:ef:0:00 -j RETURN;-s de:ad:be:ef:00:00 -j RETURN;OK -d de:ad:be:ef:00:00 -j CONTINUE;=;OK -d de:ad:be:ef:0:00/ff:ff:ff:ff:0:0 -j DROP;-d de:ad:be:ef:00:00/ff:ff:ff:ff:00:00 -j DROP;OK +-p ARP -j ACCEPT;=;OK +! -p ARP -j ACCEPT;=;OK +-p 0 -j ACCEPT;=;FAIL +! -p 0 -j ACCEPT;=;FAIL -- cgit v1.2.3