Skip to content

Commit

Permalink
Don't do a delete all on disconnect.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Jan 20, 2020
1 parent 1569ecf commit ad4359f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions faucet/valve.py
Original file line number Diff line number Diff line change
Expand Up @@ -1853,8 +1853,6 @@ def ryu_send_flows(local_flow_msgs):
ryu_dp.send_msg(flow_msg)

if flow_msgs is None:
# Attempt flow table cleanup on disconnect (but no way to guarantee result).
ryu_send_flows(self._delete_all_valve_flows())
self.datapath_disconnect()
ryu_dp.close()
else:
Expand Down

0 comments on commit ad4359f

Please sign in to comment.