diff options
Diffstat (limited to 'bgpd/bgp_route.c')
| -rw-r--r-- | bgpd/bgp_route.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index f37f3179ae..7e0c604645 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -3052,7 +3052,7 @@ bgp_update_main (struct peer *peer, struct prefix *p, u_int32_t addpath_id, else connected = 0; - if (bgp_find_or_add_nexthop (afi, ri, NULL, connected)) + if (bgp_find_or_add_nexthop (bgp, afi, ri, NULL, connected)) bgp_info_set_flag (rn, ri, BGP_INFO_VALID); else { @@ -3109,7 +3109,7 @@ bgp_update_main (struct peer *peer, struct prefix *p, u_int32_t addpath_id, else connected = 0; - if (bgp_find_or_add_nexthop (afi, new, NULL, connected)) + if (bgp_find_or_add_nexthop (bgp, afi, new, NULL, connected)) bgp_info_set_flag (rn, new, BGP_INFO_VALID); else { @@ -4158,7 +4158,7 @@ bgp_static_update_rsclient (struct peer *rsclient, struct prefix *p, /* Nexthop reachability check. */ if (bgp_flag_check (bgp, BGP_FLAG_IMPORT_CHECK)) { - if (bgp_find_or_add_nexthop (afi, ri, NULL, 0)) + if (bgp_find_or_add_nexthop (bgp, afi, ri, NULL, 0)) bgp_info_set_flag (rn, ri, BGP_INFO_VALID); else { @@ -4187,7 +4187,7 @@ bgp_static_update_rsclient (struct peer *rsclient, struct prefix *p, /* Nexthop reachability check. */ if (bgp_flag_check (bgp, BGP_FLAG_IMPORT_CHECK)) { - if (bgp_find_or_add_nexthop (afi, new, NULL, 0)) + if (bgp_find_or_add_nexthop (bgp, afi, new, NULL, 0)) bgp_info_set_flag (rn, new, BGP_INFO_VALID); else { @@ -4307,7 +4307,7 @@ bgp_static_update_main (struct bgp *bgp, struct prefix *p, /* Nexthop reachability check. */ if (bgp_flag_check (bgp, BGP_FLAG_IMPORT_CHECK)) { - if (bgp_find_or_add_nexthop (afi, ri, NULL, 0)) + if (bgp_find_or_add_nexthop (bgp, afi, ri, NULL, 0)) bgp_info_set_flag (rn, ri, BGP_INFO_VALID); else { @@ -4337,7 +4337,7 @@ bgp_static_update_main (struct bgp *bgp, struct prefix *p, /* Nexthop reachability check. */ if (bgp_flag_check (bgp, BGP_FLAG_IMPORT_CHECK)) { - if (bgp_find_or_add_nexthop (afi, new, NULL, 0)) + if (bgp_find_or_add_nexthop (bgp, afi, new, NULL, 0)) bgp_info_set_flag (rn, new, BGP_INFO_VALID); else { |
