Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shi Su committed May 19, 2021
1 parent 1682a8d commit 680f213
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions orchagent/routeorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1775,11 +1775,7 @@ bool RouteOrch::addRoutePost(const RouteBulkContext& ctx, const NextHopGroupKey
{
SWSS_LOG_ERROR("Failed to set blackhole route %s with packet action drop, %d",
ipPrefix.to_string().c_str(), status);
task_process_status handle_status = handleSaiSetStatus(SAI_API_ROUTE, status);
if (handle_status != task_success)
{
return parseHandleSaiStatusFailure(handle_status);
}
return false;
}
}

Expand Down

0 comments on commit 680f213

Please sign in to comment.