Skip to content

Commit

Permalink
Fix bug: Wrong condition for mac address (#1142)
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <[email protected]>
  • Loading branch information
Pterosaur authored and prsunny committed Dec 3, 2019
1 parent 7bf63a0 commit efe142a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfgmgr/vxlanmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ bool VxlanMgr::doVxlanCreateTask(const KeyOpFieldsValuesTuple & t)

// If the mac address has been set
auto macAddress = getVxlanRouterMacAddress();
if (macAddress.first)
if (!macAddress.first)
{
SWSS_LOG_DEBUG("Mac address is not ready");
// Suspend this message util the mac address is set
Expand Down

0 comments on commit efe142a

Please sign in to comment.