summaryrefslogtreecommitdiffstats
path: root/tests/family-ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'tests/family-ipv4')
-rw-r--r--[-rwxr-xr-x]tests/family-ipv48
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/family-ipv4 b/tests/family-ipv4
index 7c28bb43..b15d1595 100755..100644
--- a/tests/family-ipv4
+++ b/tests/family-ipv4
@@ -1,10 +1,10 @@
#! nft -f
-table add ip filter
-chain add ip filter output NF_INET_LOCAL_OUT 0
+add table ip filter
+add chain ip filter output NF_INET_LOCAL_OUT 0
# IP address
-rule add ip filter output ip daddr 192.168.0.1 counter
+add rule ip filter output ip daddr 192.168.0.1 counter
# TCP ports
-rule add ip filter output ip protocol 6 tcp dport 22 counter
+add rule ip filter output ip protocol 6 tcp dport 22 counter