mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
ovs-ofctl: Accept only valid flow_mod and flow_stats_request fields.
OpenFlow commands have several idiosyncratic fields that are used in some cases and ignored in others. Until now, ovs-ofctl has been lax about allowing some of them in places where they are ignored. This commit tightens the checks to exactly what is allowed. Bug #5979. Reported-by: Reid Price <reid@nicira.com>
This commit is contained in:
@@ -29,7 +29,7 @@ struct flow_stats_request;
|
||||
struct list;
|
||||
struct ofpbuf;
|
||||
|
||||
void parse_ofp_str(struct flow_mod *, struct ofpbuf *actions, const char *str_,
|
||||
void parse_ofp_str(struct flow_mod *, int command, const char *str_,
|
||||
bool verbose);
|
||||
|
||||
void parse_ofp_flow_mod_str(struct list *packets,
|
||||
|
Reference in New Issue
Block a user