Acked-by: Yi Yang <[email protected]>

-----邮件原件-----
发件人: Ilya Maximets [mailto:[email protected]] 
发送时间: 2020年10月20日 2:24
收件人: [email protected]
抄送: William Tu <[email protected]>; Yi Yang (杨燚)-云服务集团 <[email protected]>; 
Ilya Maximets <[email protected]>
主题: [PATCH 2/2] odp-util: Add missing comma after gtpu attributes.

Currently flows are printed like this:
        'tunnel(gtpu(flags=0x7f,msgtype=0)flags(0))'
With this change:
        'tunnel(gtpu(flags=0x7f,msgtype=0),flags(0))'

Fixes: 3c6d05a02e0f ("userspace: Add GTP-U support.")
Signed-off-by: Ilya Maximets <[email protected]>
---
 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 e7424a9ac..0bd2f9aa8 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -3971,7 +3971,7 @@ format_odp_tun_attr(const struct nlattr *attr, const 
struct nlattr *mask_attr,
         case OVS_TUNNEL_KEY_ATTR_GTPU_OPTS:
             ds_put_cstr(ds, "gtpu(");
             format_odp_tun_gtpu_opt(a, ma, ds, verbose);
-            ds_put_cstr(ds, ")");
+            ds_put_cstr(ds, "),");
             break;
         case __OVS_TUNNEL_KEY_ATTR_MAX:
         default:
--
2.25.4

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to