2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

odp-util: Format UFID hi/lo in correct order.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
This commit is contained in:
Joe Stringer
2014-12-15 15:00:42 -08:00
parent 202d8004bd
commit 9fc7fcbc96

View 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