summaryrefslogtreecommitdiffstats
path: root/tests/py
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-10-11 17:48:56 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-15 13:37:51 +0200
commitc82a26ebf7e9f5caf74fa4005da8eb7007cd940c (patch)
tree23d83898735f2b233ba2fd4ddecf48c9db4cdd17 /tests/py
parentdf21b75ae20092e36e5aa6fc19c9c96a3f629751 (diff)
json: Add ct timeout support
Add support for printing and parsing ct timeout objects to JSON API. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py')
-rw-r--r--tests/py/ip/objects.t.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/py/ip/objects.t.json b/tests/py/ip/objects.t.json
index 8e838cf4..a98d73c5 100644
--- a/tests/py/ip/objects.t.json
+++ b/tests/py/ip/objects.t.json
@@ -186,3 +186,10 @@
}
]
+# ct timeout set "cttime1"
+[
+ {
+ "ct timeout": "cttime1"
+ }
+]
+