odhcpd: remove superfluous log output.
authorKarl Palsson <karlp@etactica.com>
Thu, 22 Sep 2016 17:32:18 +0000 (17:32 +0000)
committerJohn Crispin <john@phrozen.org>
Tue, 27 Sep 2016 16:14:18 +0000 (18:14 +0200)
Drop pointless syslog.  The single line just doubles the amount of lines
logged to syslog without adding any value.

Signed-off-by: Karl Palsson <karlp@etactica.com>
src/odhcpd.c

index 74830ac8d9d9fb69bf2bd4e86b4baf2cab21f49f..6f034bff4e8a99d383aed5c41a2c607d1d3c8521 100644 (file)
@@ -443,7 +443,6 @@ 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_DEBUG, "--");
                syslog(LOG_DEBUG, "Received %li Bytes from %s%%%s", (long)len,
                                ipbuf, (iface) ? iface->ifname : "netlink");