Skip to content

Commit

Permalink
ovs-ofctl: Correctly mark the CT flush commands.
Browse files Browse the repository at this point in the history
Change the ct-flush and ct-flush-zone to RW
as they do in fact modify the state.

Fixes: 2a7c480 ("Add OpenFlow command to flush conntrack table entries.")
Signed-off-by: Ales Musil <[email protected]>
[dropped the ct-flush part while backporting]
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
almusil authored and igsilya committed Nov 29, 2023
1 parent 1d3609a commit b5e54aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/ovs-ofctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -5041,7 +5041,7 @@ static const struct ovs_cmdl_command all_commands[] = {
1, 1, ofctl_dump_ipfix_flow, OVS_RO },

{ "ct-flush-zone", "switch zone",
2, 2, ofctl_ct_flush_zone, OVS_RO },
2, 2, ofctl_ct_flush_zone, OVS_RW },

{ "ofp-parse", "file",
1, 1, ofctl_ofp_parse, OVS_RW },
Expand Down

0 comments on commit b5e54aa

Please sign in to comment.