diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-10-10 22:44:51 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-10-10 22:44:51 +0200 |
commit | f75d9050fc16469b519630abe7ed61de725e64a5 (patch) | |
tree | 14680abcca6e4f12689e4865ad282e962f7f0af6 /bgpd/bgp_route.c | |
parent | Revert "bgpd, lib: extend the size of the prefix string buffer" (diff) | |
download | frr-f75d9050fc16469b519630abe7ed61de725e64a5.tar.xz frr-f75d9050fc16469b519630abe7ed61de725e64a5.zip |
Revert "bgpd: send bgp link-state prefixes"
This reverts commit 0c94fb9cc853b3bcc98e8acca9fd03a036d33c92.
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r-- | bgpd/bgp_route.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index b22b0bafe..a6485a141 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -4729,8 +4729,8 @@ void bgp_update(struct peer *peer, const struct prefix *p, uint32_t addpath_id, (safi == SAFI_UNICAST || safi == SAFI_LABELED_UNICAST || (safi == SAFI_MPLS_VPN && pi->sub_type != BGP_ROUTE_IMPORTED))) || - (safi == SAFI_EVPN && bgp_evpn_is_prefix_nht_supported(p)) || - afi == AFI_LINKSTATE) { + (safi == SAFI_EVPN && + bgp_evpn_is_prefix_nht_supported(p))) { if (safi != SAFI_EVPN && peer->sort == BGP_PEER_EBGP && peer->ttl == BGP_DEFAULT_TTL && !CHECK_FLAG(peer->flags, @@ -4877,9 +4877,9 @@ void bgp_update(struct peer *peer, const struct prefix *p, uint32_t addpath_id, /* Nexthop reachability check. */ if (((afi == AFI_IP || afi == AFI_IP6) && (safi == SAFI_UNICAST || safi == SAFI_LABELED_UNICAST || - (safi == SAFI_MPLS_VPN && new->sub_type != BGP_ROUTE_IMPORTED))) || - (safi == SAFI_EVPN && bgp_evpn_is_prefix_nht_supported(p)) || - afi == AFI_LINKSTATE) { + (safi == SAFI_MPLS_VPN && + new->sub_type != BGP_ROUTE_IMPORTED))) || + (safi == SAFI_EVPN && bgp_evpn_is_prefix_nht_supported(p))) { if (safi != SAFI_EVPN && peer->sort == BGP_PEER_EBGP && peer->ttl == BGP_DEFAULT_TTL && !CHECK_FLAG(peer->flags, |