Make failed to send a notice instead of a warning
authorSteven Barth <steven@midlink.org>
Fri, 8 Aug 2014 08:46:39 +0000 (10:46 +0200)
committerSteven Barth <steven@midlink.org>
Fri, 8 Aug 2014 08:46:39 +0000 (10:46 +0200)
src/odhcpd.c

index 794bbfc..b8651dd 100644 (file)
@@ -172,7 +172,7 @@ ssize_t odhcpd_send(int socket, struct sockaddr_in6 *dest,
 
        ssize_t sent = sendmsg(socket, &msg, MSG_DONTWAIT);
        if (sent < 0)
 
        ssize_t sent = sendmsg(socket, &msg, MSG_DONTWAIT);
        if (sent < 0)
-               syslog(LOG_WARNING, "Failed to send to %s%%%s (%s)",
+               syslog(LOG_NOTICE, "Failed to send to %s%%%s (%s)",
                                ipbuf, iface->ifname, strerror(errno));
        else
                syslog(LOG_DEBUG, "Sent %li bytes to %s%%%s",
                                ipbuf, iface->ifname, strerror(errno));
        else
                syslog(LOG_DEBUG, "Sent %li bytes to %s%%%s",