diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-11-20 11:21:13 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-11-20 11:21:13 +0100 |
commit | 88db20c4c81d58c77bac8594345670e9445d836b (patch) | |
tree | 2a8ac7233849f766adb11550ff097d3b4fd6bb91 | |
parent | Merge pull request #14824 from opensourcerouting/ospf6-p2xp-fixuninit (diff) | |
download | frr-88db20c4c81d58c77bac8594345670e9445d836b.tar.xz frr-88db20c4c81d58c77bac8594345670e9445d836b.zip |
bgpd: Fix frrtrace arguments for bmp_eor tracing
Arguments number was wrong.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
-rw-r--r-- | bgpd/bgp_bmp.c | 2 | ||||
-rw-r--r-- | 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 2c91e5c51..fee02de72 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 0980073e2..8274802a7 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) |