From 6935dccad93db483dfb8ae534b5513d2d92fbdc4 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Mon, 15 Nov 2021 08:51:26 +0200 Subject: [PATCH] bgpd: Do not send LLA for route-server-client peers We should send only 16bytes next hop, no need for 32bytes, third party next hops kinda for LLA does not work here. Signed-off-by: Donatas Abraitis (cherry picked from commit 2d02e34eabe98326e286ac1879f6e9b0cd84432d) --- bgpd/bgp_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 460f7303a0..d4a63e6369 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -2052,7 +2052,7 @@ bool subgroup_announce_check(struct bgp_dest *dest, struct bgp_path_info *pi, if ((CHECK_FLAG(peer->af_flags[afi][safi], PEER_FLAG_NEXTHOP_LOCAL_UNCHANGED) && IN6_IS_ADDR_LINKLOCAL(&attr->mp_nexthop_local)) - || (!reflect + || (!reflect && !transparent && IN6_IS_ADDR_LINKLOCAL(&peer->nexthop.v6_local) && peer->shared_network && (from == bgp->peer_self -- 2.39.5