From 8221907edabeae468205811df88a8ab16c334605 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 24 Jan 2017 09:22:55 +0100 Subject: Revert "router: fix compile issue on 64 targets" This reverts commit 70fbf936839e02d526929be06ecba3059f78be3c. --- src/router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router.c b/src/router.c index f84ec01..a09e107 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, %ld address(es) available", + syslog(LOG_INFO, "Initial router lifetime %d, %d address(es) available", ntohs(adv.h.nd_ra_router_lifetime), ipcnt); } -- cgit v1.2.3