projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef26353
)
odp-util: Print tunnel ids in host-order.
author
Justin Pettit
<jpettit@nicira.com>
Tue, 22 Mar 2011 23:45:03 +0000
(16:45 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Wed, 23 Mar 2011 04:33:14 +0000
(21:33 -0700)
Suggested-by: Pankaj Thakkar <thakkar@nicira.com>
lib/odp-util.c
patch
|
blob
|
history
diff --git
a/lib/odp-util.c
b/lib/odp-util.c
index 973490dc8ef14003ae55374f8ae7b1cca278ee58..e82006bc797dbd04c4cda0a9c9ffe75cbb3ecef5 100644
(file)
--- a/
lib/odp-util.c
+++ b/
lib/odp-util.c
@@
-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")", n
l_attr_get_be64(a
));
+ ds_put_format(ds, "tun_id(%#"PRIx64")", n
tohll(nl_attr_get_be64(a)
));
break;
case ODP_KEY_ATTR_IN_PORT: