diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-29 23:03:06 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-02-05 15:06:56 +0200 |
| commit | ebf1110cd70a9ef2ace8503be7ec3536865db8b8 (patch) | |
| tree | 84a3e0828c742f34721f1349c0d48ae54789ee94 /bgpd/bgp_fsm.c | |
| parent | a23b92a8b033a92628277df689920524f15337a4 (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 e80102aef7..ccb6475ed5 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -600,6 +600,7 @@ const char *const peer_down_str[] = { "Socket Error", "Admin. shutdown (RTT)", "Suppress Fib Turned On or Off", + "Router ID is missing", }; static void bgp_graceful_restart_timer_off(struct peer_connection *connection, |
