mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 16:26:10 +00:00
Merge pull request #10047 from idryzhov/fix-bfd-update-source
bgpd: fix source-address for BFD sessions when using update-source IFNAME
This commit is contained in:
commit
f0946fe04d
@ -163,7 +163,7 @@ void bgp_peer_bfd_update_source(struct peer *p)
|
||||
return;
|
||||
|
||||
/* Figure out the correct source to use. */
|
||||
if (CHECK_FLAG(p->flags, PEER_FLAG_UPDATE_SOURCE))
|
||||
if (CHECK_FLAG(p->flags, PEER_FLAG_UPDATE_SOURCE) && p->update_source)
|
||||
source = p->update_source;
|
||||
else
|
||||
source = p->su_local;
|
||||
|
Loading…
Reference in New Issue
Block a user