projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90929d9
)
dhcpv4: de-escalate error logging to debug
openwrt-25.12
author
Paul Donald
<newtwen+github@gmail.com>
Mon, 19 Jan 2026 00:07:44 +0000
(
01:07
+0100)
committer
Álvaro Fernández Rojas
<noltari@gmail.com>
Sun, 25 Jan 2026 18:09:32 +0000
(19:09 +0100)
Logging in dhcpv4_handle_msg() was changed from debug to error during code
refactor.
(cherry picked from commit
13ef483716a504378b223d668c2482c93a804336
)
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Link:
https://github.com/openwrt/odhcpd/pull/375
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
src/dhcpv4.c
patch
|
blob
|
history
diff --git
a/src/dhcpv4.c
b/src/dhcpv4.c
index bb4444e8ef9f1363664a97a46e6d3b7f7d53a89a..c802cdea26a57c470665cd196d1e7a68ffe1bafb 100644
(file)
--- a/
src/dhcpv4.c
+++ b/
src/dhcpv4.c
@@
-1330,7
+1330,7
@@
void dhcpv4_handle_msg(void *src_addr, void *data, size_t len,
} else {
char ipv4_str[INET_ADDRSTRLEN];
-
error
("Sent %s to %s - %s",
+
debug
("Sent %s to %s - %s",
dhcpv4_msg_to_string(reply_msg.data),
dest_addr.sin_addr.s_addr == INADDR_BROADCAST ?
"ff:ff:ff:ff:ff:ff": odhcpd_print_mac(req->chaddr, req->hlen),