[LEDE-DEV] odhcpd [PATCHv2 2/3] remove superfluous log output.

Karl Palsson karlp at tweak.net.au
Wed Sep 28 09:32:40 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>
---
Change since v1:
 Nothing

 src/odhcpd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/odhcpd.c b/src/odhcpd.c
index 4341369..e83a700 100644
--- a/src/odhcpd.c
+++ b/src/odhcpd.c
@@ -465,7 +465,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