summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.c b/src/router.c
index a09e107..c410a9c 100644
--- a/src/router.c
+++ b/src/router.c
@@ -264,7 +264,7 @@ static uint64_t send_router_advert(struct interface *iface, const struct in6_add
adv.h.nd_ra_router_lifetime = htons(1);
syslog(LOG_INFO, "Initial router lifetime %d, %d address(es) available",
- ntohs(adv.h.nd_ra_router_lifetime), ipcnt);
+ ntohs(adv.h.nd_ra_router_lifetime), (int)ipcnt);
}
// Construct Prefix Information options