Skip to content

Commit

Permalink
odp-util: Format UFID hi/lo in correct order.
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
  • Loading branch information
joestringer committed Dec 19, 2014
1 parent 202d800 commit 9fc7fcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/odp-util.c
Expand Up @@ -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
Expand Down

0 comments on commit 9fc7fcb

Please sign in to comment.