diff options
author | Justin Pettit <jpettit@nicira.com> | 2009-11-16 15:26:31 -0800 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2009-11-16 18:48:28 -0800 |
commit | 5f21d20e65f1846c346704ac7c749a3f0ad8660e (patch) | |
tree | 67d5cc88db23aac9dad96f4d871b43a805e04bfd /lib/vconn.c | |
parent | e423eca6e9bb71cb6e61fa3aeaa70e5525507770 (diff) |
vconn: Fix endian issue in unknown action type error message
Diffstat (limited to 'lib/vconn.c')
-rw-r--r-- | lib/vconn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vconn.c b/lib/vconn.c index 85fbb26c..b11650fb 100644 --- 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); } |