Skip to content

Commit

Permalink
[Portsorch]: The mtu configuration on the port cannot be updated if t…
Browse files Browse the repository at this point in the history
…he fec configuration is blank (sonic-net#468)
  • Loading branch information
leoli-nps authored and lguohan committed Apr 19, 2018
1 parent d2c5a52 commit aef6a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1274,6 +1274,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
if (setPortMtu(p.m_port_id, mtu))
{
p.m_mtu = mtu;
m_portList[alias] = p;
SWSS_LOG_NOTICE("Set port %s MTU to %u", alias.c_str(), mtu);
}
else
Expand Down

0 comments on commit aef6a46

Please sign in to comment.