]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: reset ipv6 invalid link-local nexthop
authorLouis Scalbert <louis.scalbert@6wind.com>
Wed, 9 Oct 2024 15:08:44 +0000 (17:08 +0200)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 11 Oct 2024 05:36:38 +0000 (05:36 +0000)
commit74d91dea4be3812d80ae59bd931428fd2c503e25
treeec159bccf5b06c2edcbbc6d390d8a483a06c5007
parent43dfda662146cb9a119cd354c0432697140f0648
bgpd: reset ipv6 invalid link-local nexthop

If the "nexthop-local unchanged" setting is enabled, it preserves the
IPv6 link-local nexthop from the originating peer. However, if the
originating and destination peers are not on the same network segment,
the originating peer's IPv6 link-local address will be unreachable from
the destination peer.

In such cases, reset the IPv6 link-local nexthop, even if "nexthop-local
unchanged" is set on the destination peer.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
(cherry picked from commit 5bb99ccad2935adb006f7f727c2779b2c6e746e5)
bgpd/bgp_route.c