diff options
author | Paolo Valerio <pvalerio@redhat.com> | 2022-10-26 10:44:09 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-11-02 19:46:30 +0100 |
commit | 0bd4155f560fe5fb790b2f714d3682008b6ce736 (patch) | |
tree | 5f70cd41f75a023d2c1afb58ca804bddf099991d /lib | |
parent | 0d0f282c19e1d83fd18529e225845560c6e830e4 (diff) | |
download | openvswitch-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 'lib')
-rw-r--r-- | lib/odp-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |