Skip to content

Commit

Permalink
bgpd: Enhance OPEN Tx debug log
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Venkatraman <[email protected]>
  • Loading branch information
vivek-cumulus authored and Pdoijode committed May 28, 2024
1 parent 2165b33 commit 82db564
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bgpd/bgp_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,10 +699,9 @@ void bgp_open_send(struct peer_connection *connection)
bgp_packet_set_size(s);

if (bgp_debug_neighbor_events(peer))
zlog_debug(
"%s sending OPEN, version %d, my as %u, holdtime %d, id %pI4",
peer->host, BGP_VERSION_4, local_as, send_holdtime,
&peer->local_id);
zlog_debug("%s fd %d sending OPEN, version %d, my as %u, holdtime %d, id %pI4",
peer->host, peer->connection->fd, BGP_VERSION_4,
local_as, send_holdtime, &peer->local_id);

/* Dump packet if debug option is set. */
/* bgp_packet_dump (s); */
Expand Down

0 comments on commit 82db564

Please sign in to comment.