This corrects what appears to be a minor error in
"Implement OpenFlow support for MPLS, for up to 3 labels."

Signed-off-by: Simon Horman <ho...@verge.net.au>
---
 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 8a408c9..520b314 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -376,7 +376,7 @@ format_mpls(struct ds *ds, const struct ovs_key_mpls 
*mpls_key,
             ds_put_format(ds, "lse%d=%#"PRIx32,
                           i, ntohl(mpls_key[i].mpls_lse));
             if (mpls_mask) {
-                ds_put_format(ds, "%#"PRIx32, ntohl(mpls_mask[i].mpls_lse));
+                ds_put_format(ds, "/%#"PRIx32, ntohl(mpls_mask[i].mpls_lse));
             }
             ds_put_char(ds, ',');
         }
-- 
1.8.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to