summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-07-01 19:56:08 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-07-01 20:43:02 +0200
commita9b0c385a1d5e29dfa5d222e31a6ba7de338484a (patch)
treeb7ae70f8d7c7919514b1ee50b727d9233c37eae7 /tests/shell/testcases/nft-f
parent43ae7a48ae3deacf73a7a50e60f6809eed9b3f59 (diff)
rule: print space between policy and timeout
table ip filter { ct timeout agressive-tcp { ... policy = { established : 100, close_wait : 4, close : 4 } ^ ^ ^ ^ ^ ^ for consistency with map syntax. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/nft-f')
-rwxr-xr-xtests/shell/testcases/nft-f/0017ct_timeout_obj_02
-rw-r--r--tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/shell/testcases/nft-f/0017ct_timeout_obj_0 b/tests/shell/testcases/nft-f/0017ct_timeout_obj_0
index 3e0a7684..1d6a0f7c 100755
--- a/tests/shell/testcases/nft-f/0017ct_timeout_obj_0
+++ b/tests/shell/testcases/nft-f/0017ct_timeout_obj_0
@@ -4,7 +4,7 @@ EXPECTED='table ip filter {
ct timeout cttime{
protocol tcp
l3proto ip
- policy = { established: 123, close: 12 }
+ policy = { established : 123, close : 12 }
}
chain c {
diff --git a/tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft b/tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft
index 1638b97d..7cff1ed5 100644
--- a/tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft
+++ b/tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft
@@ -2,7 +2,7 @@ table ip filter {
ct timeout cttime {
protocol tcp
l3proto ip
- policy = { established: 123, close: 12 }
+ policy = { established : 123, close : 12 }
}
chain c {