summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-01-27 11:14:35 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-01-27 12:01:20 +0100
commitd131cca998f9e5f2b3b1cf1991f52e8bd8d8e5fd (patch)
treeffe71c32134711dc83aa931f79689804ba5912e4
parentbgpd: fix silly format string SNAFU (diff)
downloadfrr-d131cca998f9e5f2b3b1cf1991f52e8bd8d8e5fd.tar.xz
frr-d131cca998f9e5f2b3b1cf1991f52e8bd8d8e5fd.zip
bfdd: fix size_t format string
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r--bfdd/bfd_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfd_packet.c b/bfdd/bfd_packet.c
index 6980e5186..30f54f130 100644
--- a/bfdd/bfd_packet.c
+++ b/bfdd/bfd_packet.c
@@ -845,7 +845,7 @@ void bfd_recv_cb(struct thread *t)
/* Implement RFC 5880 6.8.6 */
if (mlen < BFD_PKT_LEN) {
cp_debug(is_mhop, &peer, &local, ifindex, vrfid,
- "too small (%ld bytes)", mlen);
+ "too small (%zd bytes)", mlen);
return;
}