mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-30 01:16:39 +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))
|
if (bgp_debug_neighbor_events(peer1))
|
||||||
zlog_debug("[Event] BGP connection from host %s fd %d",
|
zlog_debug(
|
||||||
inet_sutop(&su, buf), bgp_sock);
|
"[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) {
|
if (peer1->doppelganger) {
|
||||||
/* We have an existing connection. Kill the existing one and run
|
/* We have an existing connection. Kill the existing one and run
|
||||||
|
Loading…
Reference in New Issue
Block a user