File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2006,7 +2006,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
2006
2006
if (p.m_admin_state_up )
2007
2007
{
2008
2008
/* Bring port down before applying fec mode*/
2009
- if (!setPortAdminStatus (p, false ))
2009
+ if (!setPortAdminStatus (p. m_port_id , false ))
2010
2010
{
2011
2011
SWSS_LOG_ERROR (" Failed to set port %s admin status DOWN to set fec mode" , alias.c_str ());
2012
2012
it++;
@@ -2016,7 +2016,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
2016
2016
p.m_admin_state_up = false ;
2017
2017
p.m_fec_mode = fec_mode_map[fec_mode];
2018
2018
2019
- if (setPortFec (p, p.m_fec_mode ))
2019
+ if (setPortFec (p. m_port_id , p.m_fec_mode ))
2020
2020
{
2021
2021
m_portList[alias] = p;
2022
2022
SWSS_LOG_NOTICE (" Set port %s fec to %s" , alias.c_str (), fec_mode.c_str ());
@@ -2032,7 +2032,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
2032
2032
{
2033
2033
/* Port is already down, setting fec mode*/
2034
2034
p.m_fec_mode = fec_mode_map[fec_mode];
2035
- if (setPortFec (p, p.m_fec_mode ))
2035
+ if (setPortFec (p. m_port_id , p.m_fec_mode ))
2036
2036
{
2037
2037
m_portList[alias] = p;
2038
2038
SWSS_LOG_NOTICE (" Set port %s fec to %s" , alias.c_str (), fec_mode.c_str ());
You can’t perform that action at this time.
0 commit comments