Skip to content

Commit

Permalink
Fix the Fec Mode Setting of gbsyncd (#2430)
Browse files Browse the repository at this point in the history
Why I did:

PR: #2400 made change to pass <string> as argument to API setPortFecMode but did not updated the corresponding gbsyncd API call
  • Loading branch information
abdosi authored and yxieca committed Sep 1, 2022
1 parent 36e8092 commit f4a6945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ bool PortsOrch::setPortFec(Port &port, string &mode)

SWSS_LOG_NOTICE("Set port %s FEC mode %s", port.m_alias.c_str(), mode.c_str());

setGearboxPortsAttr(port, SAI_PORT_ATTR_FEC_MODE, &mode);
setGearboxPortsAttr(port, SAI_PORT_ATTR_FEC_MODE, &port.m_fec_mode);

return true;
}
Expand Down

0 comments on commit f4a6945

Please sign in to comment.