Skip to content

Commit

Permalink
[orchagent] Fix: ERR swss#orchagent: :- setPortPvid: pvid setting for…
Browse files Browse the repository at this point in the history
… tunnel Port_EVPN_XXX is not allowed (PR sonic-net#3402)

Tunnel ports are always tagged and can't be created as untagged.  But
the code currently tries to set a pvid on a tunnel which is disallowed
leading to an error in the logs.

This is a simple fix to get rid of the error in the logs.  It
does not actually change behavior in any way other than getting rid
of an error thus helping debugability.

Signed-off-by: Brad House (@bradh352)
  • Loading branch information
bradh352 committed Jan 14, 2025
1 parent 6b41306 commit cca94ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5126,7 +5126,6 @@ void PortsOrch::doVlanMemberTask(Consumer &consumer)
it = consumer.m_toSync.erase(it);
continue;
}

if (addBridgePort(port) && addVlanMember(vlan, port, tagging_mode))
it = consumer.m_toSync.erase(it);
else
Expand Down

0 comments on commit cca94ed

Please sign in to comment.