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/set | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100755 => 100644 tests/set (limited to 'tests/set') diff --git a/tests/set b/tests/set old mode 100755 new mode 100644 index 17fb2183..b3e7ad65 --- a/tests/set +++ b/tests/set @@ -1,14 +1,14 @@ #! nft -f -table add filter -chain add filter output NF_INET_LOCAL_OUT 0 +add table filter +add chain filter output NF_INET_LOCAL_OUT 0 # set: IP addresses -rule add filter output ip daddr { \ +add rule filter output ip daddr { \ 192.168.0.1, \ 192.168.0.2, \ 192.168.0.3, \ } # set: tcp ports -rule add filter output ip protocol 6 tcp dport { 22, 23 } counter +add rule filter output ip protocol 6 tcp dport { 22, 23 } counter -- cgit v1.2.3