diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-20 12:54:33 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-20 12:57:15 +0200 |
commit | 311ba4e8e5e5807c1a867c57686f14907ba7b829 (patch) | |
tree | e5202e378b5910a82a7b92f22aebf8830418eaf3 | |
parent | 3cb8834b39f8f6c27607698e485fcc7ff96815fa (diff) |
tests: set: update examples to use the current syntax
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | tests/set | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |