Skip to content

Commit

Permalink
nhrpd: Use correct printf format specifier
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
  • Loading branch information
reubendowle committed Apr 5, 2021
1 parent 78980c2 commit 4f7a37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nhrpd/nhrp_multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static void nhrp_multicast_send(struct nhrp_peer *p, struct zbuf *zb)
sockunion_get_addr(&p->vc->remote.nbma),
addrlen, addrlen == 4 ? 0x0800 : 0x86DD);

debugf(NHRP_DEBUG_COMMON, "Multicast Packet: %s -> %s, ret = %d, size = %d, addrlen = %d",
debugf(NHRP_DEBUG_COMMON, "Multicast Packet: %s -> %s, ret = %d, size = %zu, addrlen = %zu",
sockunion2str(&p->vc->local.nbma, buf[0], sizeof(buf[0])),
sockunion2str(&p->vc->remote.nbma, buf[1], sizeof(buf[1])),
ret, zbuf_used(zb), addrlen);
Expand Down

0 comments on commit 4f7a37a

Please sign in to comment.