summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-01-24 09:06:22 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-01-24 09:07:39 +0100
commit70fbf936839e02d526929be06ecba3059f78be3c (patch)
tree077c795163db9bf7c4f354f5092809c892d894cf /src
parent237f1f45d58c1ad4ef9ce6ce4960dfe60dcf1023 (diff)
router: fix compile issue on 64 targets
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src')
-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..f84ec01 100644
--- a/src/router.c
+++ b/src/router.c
@@ -263,7 +263,7 @@ static uint64_t send_router_advert(struct interface *iface, const struct in6_add
else if (parse_routes(addrs, ipcnt))
adv.h.nd_ra_router_lifetime = htons(1);
- syslog(LOG_INFO, "Initial router lifetime %d, %d address(es) available",
+ syslog(LOG_INFO, "Initial router lifetime %d, %ld address(es) available",
ntohs(adv.h.nd_ra_router_lifetime), ipcnt);
}