odp-util: Format UFID hi/lo in correct order.
authorJoe Stringer <joestringer@nicira.com>
Mon, 15 Dec 2014 23:00:42 +0000 (15:00 -0800)
committerJoe Stringer <joestringer@nicira.com>
Fri, 19 Dec 2014 20:57:40 +0000 (12:57 -0800)
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
lib/odp-util.c

index 1dc63ef..e626bf0 100644 (file)
@@ -2037,8 +2037,8 @@ odp_ufid_from_string(const char *s_, ovs_u128 *ufid)
 void
 odp_format_ufid(const ovs_u128 *ufid, struct ds *ds)
 {
-    ds_put_format(ds, "ufid:%016"PRIx64"%016"PRIx64, ufid->u64.lo,
-                  ufid->u64.hi);
+    ds_put_format(ds, "ufid:%016"PRIx64"%016"PRIx64, ufid->u64.hi,
+                  ufid->u64.lo);
 }
 
 /* Appends to 'ds' a string representation of the 'key_len' bytes of