From b4d0b880a09677a617f1a4bf38bb8a7589d0b18a Mon Sep 17 00:00:00 2001 From: Praveen Elagala Date: Wed, 11 Aug 2021 11:51:20 -0700 Subject: [PATCH] Fix warmboot issue PR##8367 --- orchagent/fdborch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchagent/fdborch.cpp b/orchagent/fdborch.cpp index 6094c12c05..cad14ebc9d 100644 --- a/orchagent/fdborch.cpp +++ b/orchagent/fdborch.cpp @@ -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;