X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-parse.c;h=9640a71f83d1a449151eadf58d950f27501bb1d0;hb=a7fc17440c2d5ca3963e3b94b16672ad1afd8f12;hp=24f6876bc8ab5203f8f54a1c83ee6cf82c44fc29;hpb=541bc79f73add327072470c9bc3febb4195cdb3c;p=sliver-openvswitch.git diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c index 24f6876bc..9640a71f8 100644 --- a/lib/ofp-parse.c +++ b/lib/ofp-parse.c @@ -668,8 +668,8 @@ parse_ofp_actions(const char *s_, struct ofpbuf *actions) * flow. */ void parse_ofp_flow_mod_str(struct list *packets, enum nx_flow_format *cur_format, - bool *flow_mod_table_id, char *string, uint16_t command, - bool verbose) + bool *flow_mod_table_id, const char *string, + uint16_t command, bool verbose) { enum nx_flow_format min_format, next_format; struct cls_rule rule_copy; @@ -729,7 +729,7 @@ parse_ofp_flow_mod_file(struct list *packets, void parse_ofp_flow_stats_request_str(struct ofputil_flow_stats_request *fsr, - bool aggregate, char *string) + bool aggregate, const char *string) { struct ofputil_flow_mod fm;