From 9a32c83f7529ca7b3f6d4b3253b537a9da5681af Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 3 Aug 2012 19:56:37 +0200 Subject: tests: fix test, commands now comes before the family and table name Most tests still don't work though. They still need another fix. Reported-by: Tomasz Bursztyka Signed-off-by: Pablo Neira Ayuso --- tests/family-bridge | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100755 => 100644 tests/family-bridge (limited to 'tests/family-bridge') diff --git a/tests/family-bridge b/tests/family-bridge old mode 100755 new mode 100644 index 633211fb..0e3d8f1b --- a/tests/family-bridge +++ b/tests/family-bridge @@ -1,13 +1,13 @@ #! nft -f -table add bridge filter -chain add bridge filter output NF_INET_LOCAL_OUT 0 +add table bridge filter +add chain bridge filter output NF_INET_LOCAL_OUT 0 # LL protocol -rule add bridge filter output eth type 0x0800 counter +add rule bridge filter output eth type 0x0800 counter # IP address -rule add bridge filter output eth type 0x0800 ip daddr 20.0.0.2 counter +add rule bridge filter output eth type 0x0800 ip daddr 20.0.0.2 counter # IPv6 address -rule add bridge filter output eth type 0x86DD ip6 daddr 2001:6f8:974:3::2 counter +add rule bridge filter output eth type 0x86DD ip6 daddr 2001:6f8:974:3::2 counter -- cgit v1.2.3