This reduces log spam when dhcp.odhcpd.loglevel ≥ 5, as neighbor
discovery router advertisements are routinely generated by timer and in
response to router solicitations.
Signed-off-by: Mark Mentovai <mark@mentovai.com>
Link: https://github.com/openwrt/odhcpd/pull/191
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
else
inet_pton(AF_INET6, ALL_IPV6_NODES, &dest.sin6_addr);
- syslog(LOG_NOTICE, "Sending a RA on %s", iface->name);
+ syslog(LOG_DEBUG, "Sending a RA on %s", iface->name);
if (odhcpd_send(iface->router_event.uloop.fd, &dest, iov, ARRAY_SIZE(iov), iface) > 0) {
iface->ra_sent++;