mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 19:43:29 +00:00
bgpd: Add more debug info for incoming connection
Signed-off-by: Vivek Venkatraman <vivek@nvidia.com>
This commit is contained in:
parent
3ffec403e8
commit
031c24f2a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user