Format fix for 32x bits arches

This commit is contained in:
Pavel Zhukov 2018-04-12 13:27:45 +02:00
parent 1a2f549965
commit a335df1437

View File

@ -20,3 +20,16 @@ index cc0dd4b..5db3bde 100644
if (prefix->AdvPreferredLifetime > prefix->AdvValidLifetime)
{
diff --git a/send.c b/send.c
index 8bc16a8..62e3e68 100644
--- a/send.c
+++ b/send.c
@@ -797,7 +797,7 @@ static int send_ra(int sock, struct Interface *iface, struct in6_addr const *des
}
// RA built, now send it.
- dlog(LOG_DEBUG, 5, "sending RA to %s on %s (%s), %lu options (using %lu/%u bytes)", dest_text, iface->props.name,
+ dlog(LOG_DEBUG, 5, "sending RA to %s on %s (%s), %lu options (using %zd/%u bytes)", dest_text, iface->props.name,
src_text, option_count, sb->used, iface->props.max_ra_option_size);
int err = really_send(sock, dest, &iface->props, sb);
if (err < 0) {