From: Ben Pfaff <blp@nicira.com>
Date: Tue, 7 Feb 2012 22:47:27 +0000 (-0800)
Subject: ofp-print: Merge two cases in ofp_to_string__().
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3370cd3c3c2a421a9ce21bd5a60b389ffb8734ca;p=openvswitch

ofp-print: Merge two cases in ofp_to_string__().

It looks like other cases are merged this way, so make this one consistent.

Signed-off-by: Ben Pfaff <blp@nicira.com>
---

diff --git a/lib/ofp-print.c b/lib/ofp-print.c
index 3c5c34a3..eb454805 100644
--- a/lib/ofp-print.c
+++ b/lib/ofp-print.c
@@ -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: