diff options
author | Florian Westphal <fw@strlen.de> | 2018-11-05 17:51:18 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-11-12 18:24:08 +0100 |
commit | 9afd2a6e8c547b81a43e6d3565ca5324ba5f5f1e (patch) | |
tree | 795e83cbef4faed9e19fb9e62311b579d91eea41 /iptables/tests/shell | |
parent | 638794172f726363bf598a1c9960346b9c28a751 (diff) |
tests: shell: fix expected arptables-save output
forgot to squash this before pushing arptables fixes.
Fixes: 5aecb2d8bfd ("arptables: pre-init hlen and ethertype")
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/tests/shell')
-rwxr-xr-x | iptables/tests/shell/testcases/arptables/0002-arptables-restore-defaults_0 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iptables/tests/shell/testcases/arptables/0002-arptables-restore-defaults_0 b/iptables/tests/shell/testcases/arptables/0002-arptables-restore-defaults_0 index b2ed95e8..ee17da00 100755 --- a/iptables/tests/shell/testcases/arptables/0002-arptables-restore-defaults_0 +++ b/iptables/tests/shell/testcases/arptables/0002-arptables-restore-defaults_0 @@ -11,7 +11,7 @@ set -e DUMP='*filter :OUTPUT ACCEPT -A OUTPUT -j mangle --mangle-ip-s 10.0.0.1 --A OUTPUT -j mangle --mangle-ip-d 10.0.0.2 +-A OUTPUT --h-length 6 --h-type 1 -j mangle --mangle-ip-d 10.0.0.2 ' # note how mangle-ip-s is unset in second rule @@ -19,8 +19,8 @@ DUMP='*filter EXPECT='*filter :INPUT ACCEPT :OUTPUT ACCEPT --A OUTPUT -j mangle --mangle-ip-s 10.0.0.1 --A OUTPUT -j mangle --mangle-ip-d 10.0.0.2 +-A OUTPUT --h-length 6 --h-type 1 -j mangle --mangle-ip-s 10.0.0.1 +-A OUTPUT --h-length 6 --h-type 1 -j mangle --mangle-ip-d 10.0.0.2 ' $XT_MULTI arptables -F |