Skip to content

Commit

Permalink
[FdbOrch] SAI_FDB_EVENT_MOVE generates update with empty update.entry…
Browse files Browse the repository at this point in the history
….port_name (sonic-net#2200)

[FdbOrch] Assigned port.m_alias to entry.port_name
  • Loading branch information
devpatha authored Mar 28, 2022
1 parent 7350d49 commit 5b7c949
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orchagent/fdborch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ void FdbOrch::update(sai_fdb_event_t type,
}

update.add = true;
update.entry.port_name = update.port.m_alias;
if (!port_old.m_alias.empty())
{
port_old.m_fdb_count--;
Expand Down

0 comments on commit 5b7c949

Please sign in to comment.