Skip to content

Commit

Permalink
Fix warmboot issue PR##8367
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveen-Brcm authored and lguohan committed Aug 13, 2021
1 parent d8ca31c commit b4d0b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchagent/fdborch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1271,8 +1271,8 @@ bool FdbOrch::addFdbEntry(const FdbEntry& entry, const string& port_name,

attrs.push_back(attr);

if ((fdbData.origin == FDB_ORIGIN_VXLAN_ADVERTIZED) || (fdbData.origin == FDB_ORIGIN_MCLAG_ADVERTIZED)
|| (fdbData.type == "dynamic"))
if (((fdbData.origin == FDB_ORIGIN_VXLAN_ADVERTIZED) || (fdbData.origin == FDB_ORIGIN_MCLAG_ADVERTIZED))
&& (fdbData.type == "dynamic"))
{
attr.id = SAI_FDB_ENTRY_ATTR_ALLOW_MAC_MOVE;
attr.value.booldata = true;
Expand Down

0 comments on commit b4d0b88

Please sign in to comment.