summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2023-03-15 01:37:44 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-03-21 19:04:10 +0100
commit06b111ea849f04dca88afeee13cf5cb1b2418b57 (patch)
tree8261901bf50e8b39a5d033b7d50d9fb503a3036d
parent90d6cc9cd48a333b95604ff90f7ffe67fe14efe3 (diff)
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 <stijn@linux-ipv6.be>
-rw-r--r--src/odhcpd.c2
1 files changed, 1 insertions, 1 deletions
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",