kytos / of_l2ls

Kytos Layer2 Learning Switch Napp
MIT License
0 stars 12 forks source link

Do not send packets if `OFPPC_NO_FWD` is set #21

Closed josemauro closed 3 years ago

josemauro commented 4 years ago

:octocat: Are you working on some issue? Identify the issue!

Fix issue https://github.com/kytos/of_core/issues/79

:bookmark_tabs: Description of the Change

This PR is an improvement of PR https://github.com/kytos/of_l2ls/pull/19 that changes handle_packet_in method to check if the ports inside actions list aren't disable from 'config' field (i.e.: OFPPC_NO_FWD flag) when sending a packet_out message.