diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-23 10:09:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-23 10:09:55 +0200 |
| commit | 4a2612cd01d0d6ae25276b208f9b967295d6783b (patch) | |
| tree | 4a29e5cfe3dc76c84474f4ea13f836f81fb02b2f /bgpd | |
| parent | c6c570a7e64eb87fbb7c634487c0be02a6d5608b (diff) | |
| parent | dee3fd6f1be54df2ddcac6bcb5d51b486a91d90b (diff) | |
Merge pull request #17904 from louis-6wind/fix-bfd-pg-update-group
bgpd: fix bfd with update-source in peer-group
Diffstat (limited to 'bgpd')
| -rw-r--r-- | bgpd/bgp_bfd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_bfd.c b/bgpd/bgp_bfd.c index 78759ae2b6..5437b67f34 100644 --- a/bgpd/bgp_bfd.c +++ b/bgpd/bgp_bfd.c @@ -114,6 +114,10 @@ void bgp_peer_config_apply(struct peer *p, struct peer_group *pg) */ 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, * then prefer group's (e.g. it means it wasn't manually configured). |
