Ilya Maximets <i.maxim...@ovn.org> writes: > On 10/21/22 15:22, Paolo Valerio wrote: >> 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 <pvale...@redhat.com> >> --- >> lib/odp-util.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/lib/odp-util.c b/lib/odp-util.c >> index ba5be4bb3..72e076e1c 100644 >> --- a/lib/odp-util.c >> +++ b/lib/odp-util.c >> @@ -1004,7 +1004,7 @@ format_odp_conntrack_action(struct ds *ds, const >> struct nlattr *attr) >> ds_put_format(ds, "helper=%s,", helper); >> } >> if (timeout) { >> - ds_put_format(ds, "timeout=%s", timeout); >> + ds_put_format(ds, "timeout=%s,", timeout); >> } >> if (nat) { >> format_odp_ct_nat(ds, nat); >> > > Hi. Thanks for the patch! > Could you also, please, add a test case to tests/odp.at for this?
Sure, thanks for pointing that out. Sent v2: https://patchwork.ozlabs.org/project/openvswitch/patch/166677384931.806968.5359905777279608036.st...@fed.void/ > > Best regards, Ilya Maximets. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev