diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-29 23:03:06 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-29 23:03:06 +0200 |
| commit | 739f2b566a8217acce84d4c21aaf033314f535bb (patch) | |
| tree | b01e155086db8e07791e208bc144c7335d15987c /bgpd/bgp_fsm.c | |
| parent | c9a29289548028163a8d1edd55dbf03f27d53484 (diff) | |
bgpd: Do not start BGP session if BGP identifier is not set
If we have IPv6-only network and no IPv4 addresses at all, then by default
0.0.0.0 is created which is treated as malformed according to RFC 6286.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_fsm.c')
| -rw-r--r-- | bgpd/bgp_fsm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index 1a30cb37f4..c7b7f9e284 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -607,6 +607,7 @@ const char *const peer_down_str[] = { "Admin. shutdown (RTT)", "Suppress Fib Turned On or Off", "Password config change", + "Router ID is missing", }; static void bgp_graceful_restart_timer_off(struct peer_connection *connection, |
