diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-03 19:56:37 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-06 14:33:54 +0200 |
commit | 9a32c83f7529ca7b3f6d4b3253b537a9da5681af (patch) | |
tree | 96b7840de24864de175cd19e9b3bd01dd8f0439e /tests/family-ipv6 | |
parent | e5990b016a7c7d17e0dac1cadb6e8bc2c91610b0 (diff) |
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 <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/family-ipv6')
-rw-r--r--[-rwxr-xr-x] | tests/family-ipv6 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/family-ipv6 b/tests/family-ipv6 index 7cf54d6f..1ddb53e5 100755..100644 --- a/tests/family-ipv6 +++ b/tests/family-ipv6 @@ -1,10 +1,10 @@ #! nft -f -table add ip6 filter -chain add ip6 filter output NF_INET_LOCAL_OUT 0 +add table ip6 filter +add chain ip6 filter output NF_INET_LOCAL_OUT 0 # IP address -rule add ip6 filter output ip6 daddr 2001:6f8:974::1 counter +add rule ip6 filter output ip6 daddr 2001:6f8:974::1 counter # TCP ports -rule add ip6 filter output ip6 nexthdr 6 tcp dport 22 counter +add rule ip6 filter output ip6 nexthdr 6 tcp dport 22 counter |