Merge pull request #9660 from pguibert6WIND/bgp_error_swap

bgpd: swap bgp error value with file descriptor value
This commit is contained in:
Donatas Abraitis 2021-09-23 20:04:24 +03:00 committed by GitHub
commit d2e4107754
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2718,7 +2718,7 @@ int bgp_packet_process_error(struct thread *thread)
if (bgp_debug_neighbor_events(peer))
zlog_debug("%s [Event] BGP error %d on fd %d",
peer->host, peer->fd, code);
peer->host, code, peer->fd);
/* Closed connection or error on the socket */
if (peer_established(peer)) {