2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +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:
Ben Pfaff
2012-02-06 10:43:50 -08:00
parent 12442ec572
commit fdb3539e01
2 changed files with 16 additions and 9 deletions

View File

@@ -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: