summaryrefslogtreecommitdiffstats
path: root/tests/py/nft-test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/nft-test.py')
-rwxr-xr-xtests/py/nft-test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py
index 3b89ec35..23f73d50 100755
--- a/tests/py/nft-test.py
+++ b/tests/py/nft-test.py
@@ -1081,6 +1081,10 @@ def obj_process(obj_line, filename, lineno):
obj_type = "ct helper"
tokens[3] = ""
+ if obj_type == "ct" and tokens[3] == "timeout":
+ obj_type = "ct timeout"
+ tokens[3] = ""
+
if len(tokens) > 3:
obj_spcf = " ".join(tokens[3:])