[LEDE-DEV] odhcpd: [PATCH 2/3] remove superfluous log output.
Karl Palsson
karlp at tweak.net.au
Thu Sep 22 10:32:18 PDT 2016
From: Karl Palsson <karlp at etactica.com>
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 at etactica.com>
---
src/odhcpd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/odhcpd.c b/src/odhcpd.c
index c51cfa1..50f3c9f 100644
--- a/src/odhcpd.c
+++ b/src/odhcpd.c
@@ -457,7 +457,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");
--
2.4.11
More information about the Lede-dev
mailing list