router: convert syslog lifetime traces into LOG_INFO prio
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 23 Jan 2017 16:54:42 +0000 (17:54 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 23 Jan 2017 16:54:42 +0000 (17:54 +0100)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/router.c

index 5d254fd5383b7f584851f43ece2da221effe8951..a09e107a05f7548d22eaf5ac83749cbdfe232d39 100644 (file)
@@ -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;
                }