diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-11-11 16:49:22 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-03 12:45:38 +0200 |
| commit | b150170d88a31cd742ae00bfd8b6101d26041c94 (patch) | |
| tree | 4ba2550f02b762c1173c88e498298a0a444ced8a /lib/libfrr.c | |
| parent | ff82618d89802e502685c00d028a8c32213a3c56 (diff) | |
bgpd: Do not try to uninstall BFD session if the peer is not established
Having something like:
```
neighbor 192.168.1.222 ebgp-multihop 32
neighbor 192.168.1.222 update-source 192.168.1.5
neighbor 192.168.1.222 bfd
```
Won't work and the result is (empty):
```
$ show bfd peers
BFD Peers:
```
bgp_stop() is called in BGP FSM multiple times (even at startup) that
causes intermediate session interruption when update-source/ebgp-multihop
is triggered.
With this fix, the ordering does not matter and the BFD session's parameters
are updated correctly.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/libfrr.c')
0 files changed, 0 insertions, 0 deletions
