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",
- ntohs(adv.h.nd_ra_router_lifetime), ipcnt);
+ syslog(LOG_INFO, "Initial router lifetime %d, %d address(es) available",
+ ntohs(adv.h.nd_ra_router_lifetime), (int)ipcnt);
}
// Construct Prefix Information options