Skip to content

Commit

Permalink
Update fdborch.cpp (sonic-net#2261)
Browse files Browse the repository at this point in the history
fdborch - fix using uninitialized variable error
  • Loading branch information
1002574903 authored May 16, 2022
1 parent 97b4387 commit 1723aac
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 @@ -76,6 +76,7 @@ bool FdbOrch::storeFdbEntryState(const FdbUpdate& update)
string portName = port.m_alias;
Port vlan;

oldFdbData.origin = FDB_ORIGIN_INVALID;
if (!m_portsOrch->getPort(entry.bv_id, vlan))
{
SWSS_LOG_NOTICE("FdbOrch notification: Failed to locate \
Expand Down

0 comments on commit 1723aac

Please sign in to comment.