ofp-parse: Generalize parse_ofp_add_flow_str() as parse_ofp_flow_mod_str().
[openvswitch] / lib / ofp-parse.h
index ac8e6d2f1035eed3f579787a8e2921930fed725f..5ad7d20ffa7a5b46cf1f04868c10740384e51ede 100644 (file)
@@ -30,7 +30,7 @@ void parse_ofp_str(char *string, struct ofp_match *match,
                    uint16_t *out_port, uint16_t *priority,
                    uint16_t *idle_timeout, uint16_t *hard_timeout,
                    uint64_t *cookie);
-struct ofpbuf *parse_ofp_add_flow_str(char *string);
+struct ofpbuf *parse_ofp_flow_mod_str(char *string, uint16_t command);
 struct ofpbuf *parse_ofp_add_flow_file(FILE *);
 
 #endif /* ofp-parse.h */