summaryrefslogtreecommitdiffstats
path: root/extensions/libarpt_CLASSIFY.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-02-01 17:06:19 +0100
committerFlorian Westphal <fw@strlen.de>2019-02-01 17:09:43 +0100
commitac8d992b8b2a23c5ae56afc428737c6863461136 (patch)
tree4bc0e0d2989d8e633c186faadff8c579206f65a5 /extensions/libarpt_CLASSIFY.t
parenta1da179b0ff3783badca352a42808f4398dd1a98 (diff)
extensions: Fix arptables extension tests
With changes to arptables-nft output, many of these tests fail because rules are not printed as expected anymore. Since most of the tests with explicitly defined output did so just because of added --h-length and --h-type options, adjust input a little more (typically reordering of arguments) to make output match input. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libarpt_CLASSIFY.t')
-rw-r--r--extensions/libarpt_CLASSIFY.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libarpt_CLASSIFY.t b/extensions/libarpt_CLASSIFY.t
index c30480d2..0cf0f2ce 100644
--- a/extensions/libarpt_CLASSIFY.t
+++ b/extensions/libarpt_CLASSIFY.t
@@ -1,4 +1,4 @@
:OUTPUT
-o lo --destination-mac 11:22:33:44:55:66;-o lo --dst-mac 11:22:33:44:55:66;OK
--dst-mac Broadcast ;--dst-mac ff:ff:ff:ff:ff:ff;OK
-! -o eth+ -d 1.2.3.4/24 -j CLASSIFY --set-class 0000:0000;! -o eth+ -d 1.2.3.0/24 --h-length 6 --h-type 1 -j CLASSIFY --set-class 0000:0000;OK
+! -o eth+ -d 1.2.3.4/24 -j CLASSIFY --set-class 0:0;-j CLASSIFY ! -o eth+ -d 1.2.3.0/24 --set-class 0:0;OK