mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
ovs-ofctl: Allow priority and timeout to be specified on mod-flows.
These options do have an effect if the mod-flows command creates a new flow. Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -517,11 +517,11 @@ parse_ofp_str(struct ofputil_flow_mod *fm, int command, const char *str_,
|
||||
break;
|
||||
|
||||
case OFPFC_MODIFY:
|
||||
fields = F_ACTIONS;
|
||||
fields = F_ACTIONS | F_TIMEOUT | F_PRIORITY;
|
||||
break;
|
||||
|
||||
case OFPFC_MODIFY_STRICT:
|
||||
fields = F_ACTIONS | F_PRIORITY;
|
||||
fields = F_ACTIONS | F_TIMEOUT | F_PRIORITY;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user