Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TACappleman committed Oct 12, 2021
1 parent 2b0a533 commit 792a4bd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions orchagent/mplsrouteorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,17 @@ bool RouteOrch::addLabelRoute(LabelRouteBulkContext& ctx, const NextHopGroupKey
/* Try to create a new next hop group */
if (!addNextHopGroup(nextHops))
{
for (auto it = nextHops.getNextHops().begin(); it != nextHops.getNextHops().end(); ++it)
{
const NextHopKey& nextHop = *it;
if (!m_neighOrch->hasNextHop(nextHop))
{
SWSS_LOG_INFO("Failed to get next hop %s in %s, resolving neighbor",
nextHop.to_string().c_str(), nextHops.to_string().c_str());
m_neighOrch->resolveNeighbor(nextHop);
}
}

/* Failed to create the next hop group and check if a temporary route is needed */

/* If the current next hop is part of the next hop group to sync,
Expand Down

0 comments on commit 792a4bd

Please sign in to comment.