Skip to content

Commit

Permalink
Fix bug: Wrong condition for mac address (sonic-net#1142)
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <ganze718@gmail.com>
  • Loading branch information
Pterosaur authored and abdosi committed Dec 31, 2019
1 parent c5ce5f5 commit 5e29d3e
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 5e29d3e

Please sign in to comment.