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

odp-util: Print tunnel ids in host-order.

Suggested-by: Pankaj Thakkar <thakkar@nicira.com>
This commit is contained in:
Justin Pettit
2011-03-22 16:45:03 -07:00
parent ef26353802
commit 602ef4b21c

View File

@@ -256,7 +256,7 @@ format_odp_key_attr(const struct nlattr *a, struct ds *ds)
switch (nl_attr_type(a)) {
case ODP_KEY_ATTR_TUN_ID:
ds_put_format(ds, "tun_id(%#"PRIx64")", nl_attr_get_be64(a));
ds_put_format(ds, "tun_id(%#"PRIx64")", ntohll(nl_attr_get_be64(a)));
break;
case ODP_KEY_ATTR_IN_PORT: