Skip to content

Commit

Permalink
Merge pull request #14833 from opensourcerouting/fix/frrtrace_bmp
Browse files Browse the repository at this point in the history
bgpd: Fix frrtrace arguments for bmp_eor tracing
  • Loading branch information
donaldsharp authored Nov 20, 2023
2 parents c142068 + 88db20c commit 9ec7aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bgpd/bgp_bmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion bgpd/bgp_trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ec7aa9

Please sign in to comment.