ofproto-dpif: Require an in_port when tracing datapath flows.
[sliver-openvswitch.git] / lib / ofp-parse.c
index 1d0ab85..6f35c12 100644 (file)
@@ -1149,6 +1149,10 @@ parse_ofp_exact_flow(struct flow *flow, const char *s)
         }
     }
 
+    if (!flow->in_port) {
+        flow->in_port = OFPP_NONE;
+    }
+
 exit:
     free(copy);