Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/jogo_filter_bridging_table_event…
Browse files Browse the repository at this point in the history
…s' into baseboxdnext
  • Loading branch information
rubensfig committed Aug 14, 2024
2 parents b501b35 + 086738f commit cce5e84
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 cce5e84

Please sign in to comment.