Skip to content

Commit

Permalink
Merge pull request #445 from bisdn/jogo_filter_bridging_table_events
Browse files Browse the repository at this point in the history
of-dpa: only notify about idle timed out bridging table flows
  • Loading branch information
rubensfig authored Aug 15, 2024
2 parents 6466d00 + 086738f commit ff50047
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/of-dpa/controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,10 @@ void controller::handle_bridging_table_rm(
rofl::caddress_ll eth_dst;
uint16_t vid = 0;

// we only care about flows being timed out
if (msg.get_reason() != rofl::openflow13::OFPRR_IDLE_TIMEOUT)
return;

try {
eth_dst = msg.get_match().get_eth_dst();
vid = msg.get_match().get_vlan_vid() & 0xfff;
Expand Down

0 comments on commit ff50047

Please sign in to comment.