Skip to content

Commit e79cd50

Browse files
Fix NHG key with weight overlay flag. (#1773)
Reset m_overlay_nexthops to false for NHG key with weights
1 parent 6627140 commit e79cd50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

orchagent/nexthopgroupkey.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class NextHopGroupKey
3333

3434
NextHopGroupKey(const std::string &nexthops, const std::string &weights)
3535
{
36+
m_overlay_nexthops = false;
3637
std::vector<std::string> nhv = tokenize(nexthops, NHG_DELIMITER);
3738
std::vector<std::string> wtv = tokenize(weights, NHG_DELIMITER);
3839
for (uint32_t i = 0; i < nhv.size(); i++)

0 commit comments

Comments
 (0)