Skip to content

Commit 1496233

Browse files
daallabdosi
authored andcommitted
[fec] Get FEC mode when port is already admin down (sonic-net#1403)
Signed-off-by: Danny Allen <[email protected]>
1 parent c3c636f commit 1496233

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
@@ -2031,6 +2031,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
20312031
else
20322032
{
20332033
/* Port is already down, setting fec mode*/
2034+
p.m_fec_mode = fec_mode_map[fec_mode];
20342035
if (setPortFec(p, p.m_fec_mode))
20352036
{
20362037
m_portList[alias] = p;

0 commit comments

Comments
 (0)