]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix sending ipv6 local nexthop if global present
authorLouis Scalbert <louis.scalbert@6wind.com>
Thu, 28 Mar 2024 10:11:05 +0000 (11:11 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Tue, 23 Apr 2024 09:26:49 +0000 (11:26 +0200)
commit424fe0bf809c1d84f16aba3f5e5f8249af29083b
treeeeaf771f211ace0d590d90ff947c076301758698
parentb083885198157555bbb916ecae9809c5d67a567b
bgpd: fix sending ipv6 local nexthop if global present

bgpd keeps on advertising IPv6 prefixes with a IPv6 link-local nexthop
after a valid IPv6 global appears.

At bgpd startup, the IPv6 global is announced by zebra after the
link-local. Only the link-local is advertised. Clearing the BGP sessions
make the global to to be announced.

Update the nexthops with the global IPv6 when available.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd/bgp_zebra.c