Skip to content

Commit aef6a46

Browse files
leoli-npslguohan
authored andcommitted
[Portsorch]: The mtu configuration on the port cannot be updated if the fec configuration is blank (sonic-net#468)
1 parent d2c5a52 commit aef6a46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

orchagent/portsorch.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
12741274
if (setPortMtu(p.m_port_id, mtu))
12751275
{
12761276
p.m_mtu = mtu;
1277+
m_portList[alias] = p;
12771278
SWSS_LOG_NOTICE("Set port %s MTU to %u", alias.c_str(), mtu);
12781279
}
12791280
else

0 commit comments

Comments
 (0)