From 311ba4e8e5e5807c1a867c57686f14907ba7b829 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 20 Apr 2013 12:54:33 +0200 Subject: tests: set: update examples to use the current syntax Signed-off-by: Pablo Neira Ayuso --- tests/set | 4 ++-- 1 file 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 -- cgit v1.2.3