From 88db20c4c81d58c77bac8594345670e9445d836b Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Mon, 20 Nov 2023 12:21:13 +0200 Subject: [PATCH] bgpd: Fix frrtrace arguments for bmp_eor tracing Arguments number was wrong. Signed-off-by: Donatas Abraitis --- bgpd/bgp_bmp.c | 2 +- bgpd/bgp_trace.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_bmp.c b/bgpd/bgp_bmp.c index 2c91e5c51779..fee02de720f0 100644 --- a/bgpd/bgp_bmp.c +++ b/bgpd/bgp_bmp.c @@ -848,7 +848,7 @@ static void bmp_eor(struct bmp *bmp, afi_t afi, safi_t safi, uint8_t flags, iana_afi_t pkt_afi = IANA_AFI_IPV4; iana_safi_t pkt_safi = IANA_SAFI_UNICAST; - frrtrace(3, frr_bgp, bmp_eor, afi, safi, flags, peer_type_flag); + frrtrace(4, frr_bgp, bmp_eor, afi, safi, flags, peer_type_flag); s = stream_new(BGP_MAX_PACKET_SIZE); diff --git a/bgpd/bgp_trace.h b/bgpd/bgp_trace.h index 0980073e2bee..8274802a7338 100644 --- a/bgpd/bgp_trace.h +++ b/bgpd/bgp_trace.h @@ -135,7 +135,7 @@ TRACEPOINT_LOGLEVEL(frr_bgp, bmp_mirror_packet, TRACE_INFO) TRACEPOINT_EVENT( frr_bgp, bmp_eor, - TP_ARGS(afi_t, afi, safi_t, safi, uint8_t, flags, peer_type_flag), + TP_ARGS(afi_t, afi, safi_t, safi, uint8_t, flags, uint8_t, peer_type_flag), TP_FIELDS( ctf_integer(afi_t, afi, afi) ctf_integer(safi_t, safi, safi)