Skip to content

Commit

Permalink
[fec] Get FEC mode when port is already admin down (sonic-net#1403)
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Allen <[email protected]>
  • Loading branch information
daall authored Aug 17, 2020
1 parent 90df31d commit 5d7b001
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 @@ -2386,6 +2386,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
else
{
/* Port is already down, setting fec mode*/
p.m_fec_mode = fec_mode_map[fec_mode];
if (setPortFec(p, p.m_fec_mode))
{
m_portList[alias] = p;
Expand Down

0 comments on commit 5d7b001

Please sign in to comment.