Skip to content

Commit

Permalink
Delete port alias from portList set in portmgr. So that when the port…
Browse files Browse the repository at this point in the history
… is re-created we can identify it as new configuration and set the default MTU.
  • Loading branch information
Vasant Patil committed Aug 25, 2020
1 parent e6fda33 commit a4155d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cfgmgr/portmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ void PortMgr::doTask(Consumer &consumer)
{
SWSS_LOG_NOTICE("Delete Port: %s", alias.c_str());
m_appPortTable.del(alias);
m_portList.erase(alias);
}

it = consumer.m_toSync.erase(it);
Expand Down

0 comments on commit a4155d7

Please sign in to comment.