Skip to content

Commit

Permalink
delete-flows: delete flows from all tables, not just table 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Canini committed Jan 16, 2014
1 parent ee79ddf commit 1ace092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OpenFlow0x04_Core.ml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ let add_flow prio pat insts =

let delete_all_flows =
{ mfCookie = val_to_mask 0L
; mfTable_id = 0
; mfTable_id = 0xff (* OFPTT_ALL *)
; mfCommand = DeleteFlow
; mfIdle_timeout = Permanent
; mfHard_timeout = Permanent
Expand Down

1 comment on commit 1ace092

@reitblatt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Please sign in to comment.