projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e423eca
)
vconn: Fix endian issue in unknown action type error message
author
Justin Pettit
<jpettit@nicira.com>
Mon, 16 Nov 2009 23:26:31 +0000
(15:26 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 17 Nov 2009 02:48:28 +0000
(18:48 -0800)
lib/vconn.c
patch
|
blob
|
history
diff --git
a/lib/vconn.c
b/lib/vconn.c
index 85fbb26c94176666e05645c5ab012f90fb564710..b11650fbc8b10f5a853bb49631f81d0d47b63ad3 100644
(file)
--- a/
lib/vconn.c
+++ b/
lib/vconn.c
@@
-1282,7
+1282,8
@@
check_action(const union ofp_action *a, unsigned int len, int max_ports)
break;
default:
- VLOG_WARN_RL(&bad_ofmsg_rl, "unknown action type %"PRIu16, a->type);
+ VLOG_WARN_RL(&bad_ofmsg_rl, "unknown action type %"PRIu16,
+ ntohs(a->type));
return ofp_mkerr(OFPET_BAD_ACTION, OFPBAC_BAD_TYPE);
}