diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-01-24 09:31:24 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-01-24 09:31:24 +0100 |
commit | e447ff965919f3718c1483d44ea4e99e800c6714 (patch) | |
tree | 14895956822e6bd2f146751e08d075b2805a0d12 /src/router.c | |
parent | 8221907edabeae468205811df88a8ab16c334605 (diff) |
router: fix compile issue on 64 bit systems
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/router.c')
-rw-r--r-- | src/router.c | 2 |
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 |