Fix handling of OFPP_ANY in OpenFlow 1.1 and later.
[openvswitch] / lib / ofp-parse.c
index 054db60e440f73454fb33ca8bd25baed15897589..1d71370d4d0c78455389eba3d8e4537a1af38ec4 100644 (file)
@@ -829,7 +829,7 @@ parse_ofp_str(struct ofputil_flow_mod *fm, int command, const char *str_,
     fm->idle_timeout = OFP_FLOW_PERMANENT;
     fm->hard_timeout = OFP_FLOW_PERMANENT;
     fm->buffer_id = UINT32_MAX;
-    fm->out_port = OFPP_NONE;
+    fm->out_port = OFPP_ANY;
     fm->flags = 0;
     if (fields & F_ACTIONS) {
         act_str = strstr(string, "action");