projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8221907
)
router: fix compile issue on 64 bit systems
author
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 24 Jan 2017 08:31:24 +0000
(09:31 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 24 Jan 2017 08:31:24 +0000
(09:31 +0100)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/router.c
patch
|
blob
|
history
diff --git
a/src/router.c
b/src/router.c
index a09e107a05f7548d22eaf5ac83749cbdfe232d39..c410a9ceaf74742ee5dc82f55af6a9cac5a889a4 100644
(file)
--- 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