diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index b70beaade201..d84b22001197 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -6251,6 +6251,11 @@ static void bgp_nexthop_reachability_check(afi_t afi, safi_t safi, struct bgp_dest *dest, struct bgp *bgp) { + if (safi == SAFI_RTC) { + bgp_unlink_nexthop(bpi); + + bgp_path_info_set_flag(dest, bpi, BGP_PATH_VALID); + } /* Nexthop reachability check. */ if (safi == SAFI_UNICAST || safi == SAFI_LABELED_UNICAST) { if (CHECK_FLAG(bgp->flags, BGP_FLAG_IMPORT_CHECK)) {