Skip to content

Commit efe142a

Browse files
Pterosaurprsunny
authored andcommitted
Fix bug: Wrong condition for mac address (#1142)
Signed-off-by: Ze Gan <[email protected]>
1 parent 7bf63a0 commit efe142a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cfgmgr/vxlanmgr.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ bool VxlanMgr::doVxlanCreateTask(const KeyOpFieldsValuesTuple & t)
299299

300300
// If the mac address has been set
301301
auto macAddress = getVxlanRouterMacAddress();
302-
if (macAddress.first)
302+
if (!macAddress.first)
303303
{
304304
SWSS_LOG_DEBUG("Mac address is not ready");
305305
// Suspend this message util the mac address is set

0 commit comments

Comments
 (0)