summaryrefslogtreecommitdiff
path: root/python/firstheader.py
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2024-11-08 09:48:11 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2024-12-30 15:13:37 +0100
commit955da5cbaa95e349c8a3aab2cde979eed748d8ad (patch)
tree9072d8782420e4889d184953f4842be0a4e029e3 /python/firstheader.py
parent9e940d4de35debfe0bb135492dc5448312ba0a2f (diff)
bgpd: fix warning of compilation when using bgp_trace
The following warning can be seen: > In file included from ./bgpd/bgp_trace.h:21, > from bgpd/bgp_io.c:27: > bgpd/bgp_io.c: In function ‘read_ibuf_work’: > bgpd/bgp_io.c:202:53: warning: passing argument 1 of ‘lttng_ust_tracepoint_cb_frr_bgp___packet_read’ from incompatible pointer type [-Wincompatible-pointer-types] > 202 | frrtrace(2, frr_bgp, packet_read, connection->peer, pkt); > | ~~~~~~~~~~^~~~~~ > | | > | struct peer * > bgpd/bgp_io.c:202:9: note: in expansion of macro ‘frrtrace’ > 202 | frrtrace(2, frr_bgp, packet_read, connection->peer, pkt); > | ^~~~~~~~ > In file included from ./bgpd/bgp_trace.h:21, > from bgpd/bgp_io.c:27: > ./bgpd/bgp_trace.h:57:43: note: expected ‘struct peer_connection *’ but argument is of type ‘struct peer *’ > 57 | TP_ARGS(struct peer_connection *, connection, struct stream *, pkt), > | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ Use the appropriate connection parameter when calling the trace. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions