summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_network.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c
index 9582ec01ed..b43f8c8664 100644
--- a/bgpd/bgp_network.c
+++ b/bgpd/bgp_network.c
@@ -530,8 +530,10 @@ static void bgp_accept(struct thread *thread)
}
if (bgp_debug_neighbor_events(peer1))
- zlog_debug("[Event] BGP connection from host %s fd %d",
- inet_sutop(&su, buf), bgp_sock);
+ zlog_debug(
+ "[Event] connection from %s fd %d, active peer status %d fd %d",
+ inet_sutop(&su, buf), bgp_sock, peer1->status,
+ peer1->fd);
if (peer1->doppelganger) {
/* We have an existing connection. Kill the existing one and run