ofp-print: Merge two cases in ofp_to_string__().
authorBen Pfaff <blp@nicira.com>
Tue, 7 Feb 2012 22:47:27 +0000 (14:47 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 7 Feb 2012 23:12:04 +0000 (15:12 -0800)
It looks like other cases are merged this way, so make this one consistent.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-print.c

index 3c5c34a3223a864d80b78eabc9f1222fa60c2c35..eb4548057bdb485e49fff30392504235aae3434b 100644 (file)
@@ -1362,6 +1362,7 @@ ofp_to_string__(const struct ofp_header *oh,
         break;
 
     case OFPUTIL_OFPT_FLOW_MOD:
+    case OFPUTIL_NXT_FLOW_MOD:
         ofp_print_flow_mod(string, msg, code, verbosity);
         break;
 
@@ -1452,8 +1453,6 @@ ofp_to_string__(const struct ofp_header *oh,
         ofp_print_nxt_set_packet_in_format(string, msg);
         break;
 
-    case OFPUTIL_NXT_FLOW_MOD:
-        ofp_print_flow_mod(string, msg, code, verbosity);
         break;
 
     case OFPUTIL_NXST_AGGREGATE_REPLY: