summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaolo Valerio <pvalerio@redhat.com>2022-10-26 10:44:09 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-11-02 19:46:30 +0100
commit0bd4155f560fe5fb790b2f714d3682008b6ce736 (patch)
tree5f70cd41f75a023d2c1afb58ca804bddf099991d /tests
parent0d0f282c19e1d83fd18529e225845560c6e830e4 (diff)
downloadopenvswitch-0bd4155f560fe5fb790b2f714d3682008b6ce736.tar.gz
odp-util: Add missing separator in format_odp_conntrack_action().
If OVS_CT_ATTR_TIMEOUT is included, the resulting output is the following: actions:ct(commit,timeout=1nat(src=10.1.1.240)) Fix it by trivially adding a trailing ',' to timeout as well. Signed-off-by: Paolo Valerio <pvalerio@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/odp.at2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/odp.at b/tests/odp.at
index 7a1cf3b2c..88b7cfd91 100644
--- a/tests/odp.at
+++ b/tests/odp.at
@@ -348,7 +348,9 @@ ct(commit,helper=tftp)
ct(commit,timeout=ovs_tp_1_tcp4)
ct(nat)
ct(commit,nat(src))
+ct(commit,timeout=ovs_tp_1_tcp4,nat(src))
ct(commit,nat(dst))
+ct(commit,timeout=ovs_tp_1_tcp4,nat(dst))
ct(commit,nat(src=10.0.0.240,random))
ct(commit,nat(src=10.0.0.240:32768-65535,random))
ct(commit,nat(dst=10.0.0.128-10.0.0.254,hash))