Skip to content

Commit f4a6945

Browse files
abdosiyxieca
authored andcommitted
Fix the Fec Mode Setting of gbsyncd (#2430)
Why I did: PR: #2400 made change to pass <string> as argument to API setPortFecMode but did not updated the corresponding gbsyncd API call
1 parent 36e8092 commit f4a6945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchagent/portsorch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ bool PortsOrch::setPortFec(Port &port, string &mode)
12551255

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

1258-
setGearboxPortsAttr(port, SAI_PORT_ATTR_FEC_MODE, &mode);
1258+
setGearboxPortsAttr(port, SAI_PORT_ATTR_FEC_MODE, &port.m_fec_mode);
12591259

12601260
return true;
12611261
}

0 commit comments

Comments
 (0)