projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e6fe55
)
odp-util: Use proper formatting for ODP port number.
author
Jarno Rajahalme
<jarno.rajahalme@nsn.com>
Fri, 14 Jun 2013 14:09:34 +0000
(17:09 +0300)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 14 Jun 2013 17:15:54 +0000
(10:15 -0700)
Signed-off-by: Jarno Rajahalme <jarno.rajahalme@nsn.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/odp-util.c
patch
|
blob
|
history
diff --git
a/lib/odp-util.c
b/lib/odp-util.c
index
b92a7ca
..
bfedfe1
100644
(file)
--- a/
lib/odp-util.c
+++ b/
lib/odp-util.c
@@
-368,7
+368,7
@@
format_odp_action(struct ds *ds, const struct nlattr *a)
switch (type) {
case OVS_ACTION_ATTR_OUTPUT:
- ds_put_format(ds, "%"PRIu
16
, nl_attr_get_u32(a));
+ ds_put_format(ds, "%"PRIu
32
, nl_attr_get_u32(a));
break;
case OVS_ACTION_ATTR_USERSPACE:
format_odp_userspace_action(ds, a);