From: Pablo Neira Ayuso Date: Thu, 18 Apr 2013 17:25:33 +0000 (+0200) Subject: tests: expr-ct: update examples to use the current syntax X-Git-Tag: v0.099~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68fd615d5091584421781433dd2c00e1e6832e42;p=thirdparty%2Fnftables.git tests: expr-ct: update examples to use the current syntax Signed-off-by: Pablo Neira Ayuso --- 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