diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-03 19:56:37 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-06 14:33:54 +0200 |
commit | 9a32c83f7529ca7b3f6d4b3253b537a9da5681af (patch) | |
tree | 96b7840de24864de175cd19e9b3bd01dd8f0439e /tests/expr-ct | |
parent | e5990b016a7c7d17e0dac1cadb6e8bc2c91610b0 (diff) |
tests: fix test, commands now comes before the family and table name
Most tests still don't work though. They still need another fix.
Reported-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/expr-ct')
-rw-r--r--[-rwxr-xr-x] | tests/expr-ct | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/expr-ct b/tests/expr-ct index 8391c3ec..d464a949 100755..100644 --- a/tests/expr-ct +++ b/tests/expr-ct @@ -1,26 +1,26 @@ #! nft -f -table add ip filter -chain add ip filter output NF_INET_LOCAL_OUT 0 +add table ip filter +add chain ip filter output NF_INET_LOCAL_OUT 0 # ct: state -rule add ip filter output ct state 0 counter +add rule ip filter output ct state 0 counter # ct: direction original/reply -rule add ip filter output ct direction 0 counter -rule add ip filter output ct direction 1 counter +add rule ip filter output ct direction 0 counter +add rule ip filter output ct direction 1 counter # ct: status -rule add ip filter output ct status 0 counter +add rule ip filter output ct status 0 counter # ct: mark -rule add ip filter output ct mark 0 counter +add rule ip filter output ct mark 0 counter # ct: secmark -rule add ip filter output ct secmark 0 counter +add rule ip filter output ct secmark 0 counter # ct: expiration -rule add ip filter output ct expiration 30 counter +add rule ip filter output ct expiration 30 counter # ct: helper ftp -rule add ip filter output ct helper "ftp" counter +add rule ip filter output ct helper "ftp" counter |