mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-14 01:52:01 +00:00
bgpd: fix bfd with update-source in peer-group
Fix BFD session not created when the peer is in update-group with the update-source option. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
parent
cb4846c057
commit
dee3fd6f1b
@ -114,6 +114,10 @@ void bgp_peer_config_apply(struct peer *p, struct peer_group *pg)
|
|||||||
*/
|
*/
|
||||||
gconfig = pg->conf;
|
gconfig = pg->conf;
|
||||||
|
|
||||||
|
if (CHECK_FLAG(gconfig->flags, PEER_FLAG_UPDATE_SOURCE) ||
|
||||||
|
CHECK_FLAG(p->flags_override, PEER_FLAG_UPDATE_SOURCE))
|
||||||
|
bgp_peer_bfd_update_source(p);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If using default control plane independent configuration,
|
* If using default control plane independent configuration,
|
||||||
* then prefer group's (e.g. it means it wasn't manually configured).
|
* then prefer group's (e.g. it means it wasn't manually configured).
|
||||||
|
Loading…
Reference in New Issue
Block a user