Skip to content

Commit

Permalink
Root fix
Browse files Browse the repository at this point in the history
Signed-off-by: Wenda Ni <wonda.ni@gmail.com>
  • Loading branch information
wendani committed Mar 2, 2021
1 parent ec36bcd commit 2f463af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/intfsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ void IntfsOrch::doTask(Consumer &consumer)
Port port;
if (!gPortsOrch->getPort(alias, port))
{
if (isSubIntf)
if (isSubIntf && !ip_prefix_in_key)
{
if (!gPortsOrch->addSubPort(port, alias, adminUp, mtu))
{
Expand Down

0 comments on commit 2f463af

Please sign in to comment.