ofp-parse: Generalize parse_ofp_add_flow_file() to parse_ofp_flow_mod_file().
[sliver-openvswitch.git] / utilities / ovs-controller.c
index f5e5014..af9e11f 100644 (file)
@@ -269,7 +269,8 @@ read_flow_file(const char *name)
     }
 
     flow_format = NXFF_OPENFLOW10;
-    while (parse_ofp_add_flow_file(&default_flows, &flow_format, stream)) {
+    while (parse_ofp_flow_mod_file(&default_flows, &flow_format, stream,
+                                   OFPFC_ADD)) {
         continue;
     }