Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion orchagent/nexthopgroupkey.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class NextHopGroupKey
}

/* ip_string|if_alias|vni|router_mac separated by ',' */
NextHopGroupKey(const std::string &nexthops, bool overlay_nh, bool srv6_nh)
NextHopGroupKey(const std::string &nexthops, bool overlay_nh, bool srv6_nh = false)
{
if (overlay_nh)
{
Expand Down
2 changes: 1 addition & 1 deletion orchagent/nexthopkey.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct NextHopKey
}
weight = 0;
}
NextHopKey(const std::string &str, bool overlay_nh, bool srv6_nh)
NextHopKey(const std::string &str, bool overlay_nh, bool srv6_nh = false)
{
if (str.find(NHG_DELIMITER) != string::npos)
{
Expand Down