diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-01-23 17:54:42 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-01-23 17:54:42 +0100 |
commit | 237f1f45d58c1ad4ef9ce6ce4960dfe60dcf1023 (patch) | |
tree | 4f5b053f2973cd5378482f22cd0827db4086b2a0 | |
parent | da660c752d1c177934a01e28c68368879523b74d (diff) |
router: convert syslog lifetime traces into LOG_INFO prio
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r-- | src/router.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |