Skip to content

Commit 3e713cc

Browse files
author
Shuotian Cheng
authored
[orchagent]: Fixing bug internal entry not removed after DEL (#179)
Signed-off-by: Shuotian Cheng <[email protected]>
1 parent 49de6dc commit 3e713cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

orchagent/intfsorch.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ void IntfsOrch::doTask(Consumer &consumer)
146146
if (m_syncdIntfses[alias].ip_addresses.getSize() == 0)
147147
{
148148
if (removeRouterIntfs(port))
149+
{
150+
m_syncdIntfses.erase(alias);
149151
it = consumer.m_toSync.erase(it);
152+
}
150153
else
151154
it++;
152155
}

0 commit comments

Comments
 (0)