mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 00:56:19 +00:00
Merge pull request #9498 from idryzhov/fix-bgp-update-source
bgpd: fix update-source for ipv6
This commit is contained in:
commit
db2ab4dd2c
@ -838,6 +838,12 @@ bool bgp_zebra_nexthop_set(union sockunion *local, union sockunion *remote,
|
||||
if (direct)
|
||||
v6_ll_avail = if_get_ipv6_local(
|
||||
ifp, &nexthop->v6_local);
|
||||
/*
|
||||
* It's fine to not have a v6 LL when using
|
||||
* update-source loopback/vrf
|
||||
*/
|
||||
if (!v6_ll_avail && if_is_loopback_or_vrf(ifp))
|
||||
v6_ll_avail = true;
|
||||
} else
|
||||
/* Link-local address. */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user