diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-13 13:21:47 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-13 13:23:45 +0300 |
| commit | 142be67f8cef25805c10592f5162848fb45a20ef (patch) | |
| tree | 994169d7f75573fac176189fb2164613186ed07b /lib/compiler.h | |
| parent | 47dc0f135469a567572bffaadb86c6e08b30216a (diff) | |
bgpd: Keep remote/local socket unions on BGP start event
Not sure why this is needed, because it's reset on bgp_connect_success(),
when the session is UP.
When the session is reset, it clears those variables, and we are not able to
see what remote address was before, etc.
hostLocal, hostRemote reports Unknown for `show bgp neighbor json`.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions
