]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: Do not send LLA for route-server-client peers
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 15 Nov 2021 06:51:26 +0000 (08:51 +0200)
committermergify-bot <noreply@mergify.io>
Mon, 22 Nov 2021 21:52:00 +0000 (21:52 +0000)
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 <donatas.abraitis@gmail.com>
(cherry picked from commit 2d02e34eabe98326e286ac1879f6e9b0cd84432d)

bgpd/bgp_route.c

index 6b230dd15bb3b85f0c6ae5ed6ac0c014314e2be9..6ad1e2b701d9ce396f0538cf3ba55dc1adad503a 100644 (file)
@@ -2054,7 +2054,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