summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.c
diff options
context:
space:
mode:
authorHans Dedecker <hans.dedecker@technicolor.com>2014-01-23 10:44:22 +0100
committerHans Dedecker <hans.dedecker@technicolor.com>2014-01-23 10:44:22 +0100
commit5d599d81ff97e1275935fd5c1b6a5991f245cb61 (patch)
tree13f76e9be8be3b9d5592bd262b2cd1e1f5b3e0e0 /src/odhcpd.c
parent54a51ca4375c2ae1007e5bea26ebb6dc4e88b638 (diff)
parent482a8b369deca0c485b5d39e5ac302ed5ad42499 (diff)
Merge remote branch 'upstream/master' into bugfixes
Diffstat (limited to 'src/odhcpd.c')
-rw-r--r--src/odhcpd.c8
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);