diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-18 19:25:33 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-18 19:25:33 +0200 |
commit | 68fd615d5091584421781433dd2c00e1e6832e42 (patch) | |
tree | 8d8b7043318da19f27fb91f9c423c52a9bb50fd1 /tests | |
parent | 7a83f1d55a6bb087ed8c994867a868c47f6a7764 (diff) |
tests: expr-ct: update examples to use the current syntax
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/expr-ct | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/expr-ct b/tests/expr-ct index d464a949..39f1777c 100644 --- a/tests/expr-ct +++ b/tests/expr-ct @@ -1,17 +1,17 @@ #! nft -f add table ip filter -add chain ip filter output NF_INET_LOCAL_OUT 0 +add chain ip filter output { hook NF_INET_LOCAL_OUT 0 ; } # ct: state -add rule ip filter output ct state 0 counter +add rule ip filter output ct state new,established counter # ct: direction original/reply -add rule ip filter output ct direction 0 counter -add rule ip filter output ct direction 1 counter +add rule ip filter output ct direction original counter +add rule ip filter output ct direction reply counter # ct: status -add rule ip filter output ct status 0 counter +add rule ip filter output ct status expected counter # ct: mark add rule ip filter output ct mark 0 counter |