diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-11-11 16:49:22 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-11-11 16:49:22 +0200 |
| commit | 29eafd32c58c3b6e3ecb6f715aef74a17f22382a (patch) | |
| tree | 4a732387cea15dd0d495d33bd6f21fbe0e451e88 /lib/xref.c | |
| parent | 6e92e255182229ae5742dbb86abebfd574b5d413 (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/xref.c')
0 files changed, 0 insertions, 0 deletions
