From: Hans Dedecker Date: Mon, 23 Jan 2017 16:54:42 +0000 (+0100) Subject: router: convert syslog lifetime traces into LOG_INFO prio X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=237f1f45d58c1ad4ef9ce6ce4960dfe60dcf1023;p=project%2Fodhcpd.git router: convert syslog lifetime traces into LOG_INFO prio Signed-off-by: Hans Dedecker --- diff --git a/src/router.c b/src/router.c index 5d254fd..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_DEBUG, "Initial router lifetime %d, %d address(es) available", + syslog(LOG_INFO, "Initial router lifetime %d, %d address(es) available", ntohs(adv.h.nd_ra_router_lifetime), ipcnt); } @@ -282,7 +282,7 @@ static uint64_t send_router_advert(struct interface *iface, const struct in6_add char namebuf[INET6_ADDRSTRLEN]; inet_ntop(AF_INET6, addr, namebuf, sizeof(namebuf)); - syslog(LOG_DEBUG, "Address %s (prefix %d, valid %u) not suitable", + syslog(LOG_INFO, "Address %s (prefix %d, valid %u) not suitable", namebuf, addr->prefix, addr->valid); continue; }