diff options
Diffstat (limited to 'src/odhcpd.c')
-rw-r--r-- | src/odhcpd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/odhcpd.c b/src/odhcpd.c index 39ce98e..f40cea0 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -52,7 +52,7 @@ static int urandom_fd = -1; int main() { openlog("odhcpd", LOG_PERROR | LOG_PID, LOG_DAEMON); - setlogmask(LOG_UPTO(LOG_INFO)); + setlogmask(LOG_UPTO(LOG_WARNING)); uloop_init(); if (getuid() != 0) { @@ -175,7 +175,7 @@ ssize_t odhcpd_send(int socket, struct sockaddr_in6 *dest, syslog(LOG_WARNING, "Failed to send to %s%%%s (%s)", ipbuf, iface->ifname, strerror(errno)); else - syslog(LOG_NOTICE, "Sent %li bytes to %s%%%s", + syslog(LOG_DEBUG, "Sent %li bytes to %s%%%s", (long)sent, ipbuf, iface->ifname); return sent; } @@ -359,8 +359,8 @@ static void odhcpd_receive_packets(struct uloop_fd *u, _unused unsigned int even else if (addr.in.sin_family == AF_INET) inet_ntop(AF_INET, &addr.in.sin_addr, ipbuf, sizeof(ipbuf)); - syslog(LOG_NOTICE, "--"); - syslog(LOG_NOTICE, "Received %li Bytes from %s%%%s", (long)len, + syslog(LOG_DEBUG, "--"); + syslog(LOG_DEBUG, "Received %li Bytes from %s%%%s", (long)len, ipbuf, (iface) ? iface->ifname : "netlink"); e->handle_dgram(&addr, data_buf, len, iface); |