cmake: enforce additonal compiler checks
[project/odhcpd.git] / src / ndp.c
index 1facceb1b77c24fe82e762ebf0993110087cb108..dfbb1115c2126cf67bdb7c08674a5355fa84750c 100644 (file)
--- a/src/ndp.c
+++ b/src/ndp.c
@@ -288,7 +288,7 @@ static void ping6(struct in6_addr *addr,
        char ipbuf[INET6_ADDRSTRLEN];
 
        inet_ntop(AF_INET6, addr, ipbuf, sizeof(ipbuf));
-       syslog(LOG_NOTICE, "Pinging for %s on %s", ipbuf, iface->name);
+       syslog(LOG_DEBUG, "Pinging for %s on %s", ipbuf, iface->name);
 
        netlink_setup_route(addr, 128, iface->ifindex, NULL, 128, true);
        odhcpd_send(iface->ndp_ping_fd, &dest, &iov, 1, iface);
@@ -381,7 +381,7 @@ static void setup_route(struct in6_addr *addr, struct interface *iface, bool add
        char ipbuf[INET6_ADDRSTRLEN];
 
        inet_ntop(AF_INET6, addr, ipbuf, sizeof(ipbuf));
-       syslog(LOG_NOTICE, "%s about %s%s on %s",
+       syslog(LOG_DEBUG, "%s about %s%s on %s",
                        (add) ? "Learning" : "Forgetting",
                        iface->learn_routes ? "proxy routing for " : "",
                        ipbuf, iface->name);