Skip to content

Commit

Permalink
[portsorch] fix bug in speed set (#806)
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
  • Loading branch information
stepanblyschak authored and liat-grozovik committed Mar 6, 2019
1 parent c903b5d commit 3f14956
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,8 @@ void PortsOrch::doPortTask(Consumer &consumer)
}
SWSS_LOG_NOTICE("Set port %s speed to %u", alias.c_str(), speed);
}
m_portList[alias].m_speed = speed;
p.m_speed = speed;
m_portList[alias] = p;
}

if (mtu != 0 && mtu != p.m_mtu)
Expand Down

0 comments on commit 3f14956

Please sign in to comment.