summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/set4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/set b/tests/set
index b3e7ad65..e2d8e495 100644
--- a/tests/set
+++ b/tests/set
@@ -1,7 +1,7 @@
#! nft -f
add table filter
-add chain filter output NF_INET_LOCAL_OUT 0
+add chain filter output { hook NF_INET_LOCAL_OUT 0 ; }
# set: IP addresses
add rule filter output ip daddr { \
@@ -11,4 +11,4 @@ add rule filter output ip daddr { \
}
# set: tcp ports
-add rule filter output ip protocol 6 tcp dport { 22, 23 } counter
+add rule filter output tcp dport { 22, 23 } counter