Merge pull request #12212 from donaldsharp/clarify_issue

bgpd: Clarify what NHT error message means
This commit is contained in:
Donatas Abraitis 2022-10-27 18:01:44 +01:00 committed by GitHub
commit 6535ba824b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -627,7 +627,7 @@ const char *const peer_down_str[] = {"",
"BFD down received",
"Interface down",
"Neighbor address lost",
"Waiting for NHT",
"No path to specified Neighbor",
"Waiting for Peer IPv6 LLA",
"Waiting for VRF to be initialized",
"No AFI/SAFI activated for peer",
@ -1880,7 +1880,8 @@ int bgp_start(struct peer *peer)
if (!bgp_peer_reg_with_nht(peer)) {
if (bgp_zebra_num_connects()) {
if (bgp_debug_neighbor_events(peer))
zlog_debug("%s [FSM] Waiting for NHT",
zlog_debug(
"%s [FSM] Waiting for NHT, no path to neighbor present",
peer->host);
peer->last_reset = PEER_DOWN_WAITING_NHT;
BGP_EVENT_ADD(peer, TCP_connection_open_failed);