summaryrefslogtreecommitdiffstats
path: root/tests/set
diff options
context:
space:
mode:
Diffstat (limited to 'tests/set')
-rw-r--r--[-rwxr-xr-x]tests/set8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/set b/tests/set
index 17fb2183..b3e7ad65 100755..100644
--- 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