X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn.c;h=b11650fbc8b10f5a853bb49631f81d0d47b63ad3;hb=87c8489148d5e6d44b1d55f1325658222852232c;hp=85fbb26c94176666e05645c5ab012f90fb564710;hpb=d65349ea28bb67a0062a9b4b60ff97538206373b;p=openvswitch 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); }