From 06b111ea849f04dca88afeee13cf5cb1b2418b57 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Wed, 15 Mar 2023 01:37:44 +0200 Subject: [PATCH] Revert "odhcpd: Reduce error messages" Silencing an error message without properly understanding why it occurs is terrible practice. "I think this would be better served as debug." doesn't inspire confidence the author actually understood what was going on, so revert this commit. This reverts commit 90d6cc9cd48a333b95604ff90f7ffe67fe14efe3. Signed-off-by: Stijn Tintel --- src/odhcpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/odhcpd.c b/src/odhcpd.c index 1f2567e..554e5f1 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -219,7 +219,7 @@ ssize_t odhcpd_send(int socket, struct sockaddr_in6 *dest, ssize_t sent = sendmsg(socket, &msg, MSG_DONTWAIT); if (sent < 0) - syslog(LOG_DEBUG, "Failed to send to %s%%%s@%s (%m)", + syslog(LOG_ERR, "Failed to send to %s%%%s@%s (%m)", ipbuf, iface->name, iface->ifname); else syslog(LOG_DEBUG, "Sent %zd bytes to %s%%%s@%s", -- 2.30.2