Skip to content

Commit 3f14956

Browse files
stepanblyschakliat-grozovik
authored andcommitted
[portsorch] fix bug in speed set (sonic-net#806)
Signed-off-by: Stepan Blyschak <[email protected]>
1 parent c903b5d commit 3f14956

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

orchagent/portsorch.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,8 @@ void PortsOrch::doPortTask(Consumer &consumer)
17881788
}
17891789
SWSS_LOG_NOTICE("Set port %s speed to %u", alias.c_str(), speed);
17901790
}
1791-
m_portList[alias].m_speed = speed;
1791+
p.m_speed = speed;
1792+
m_portList[alias] = p;
17921793
}
17931794

17941795
if (mtu != 0 && mtu != p.m_mtu)

0 commit comments

Comments
 (0)