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:
bf61370
)
dhcpv4: bump problem scenario up to warn
author
Paul Donald
<
[email protected]
>
Wed, 22 Oct 2025 14:36:22 +0000
(16:36 +0200)
committer
Álvaro Fernández Rojas
<
[email protected]
>
Wed, 22 Oct 2025 16:08:47 +0000
(18:08 +0200)
This way a potential failure scenario is visible with odhcpds default log
level of warn.
Closes https://github.com/openwrt/odhcpd/issues/228
Signed-off-by: Paul Donald <
[email protected]
>
Link:
https://github.com/openwrt/odhcpd/pull/287
Signed-off-by: Álvaro Fernández Rojas <
[email protected]
>
src/dhcpv4.c
patch
|
blob
|
history
diff --git
a/src/dhcpv4.c
b/src/dhcpv4.c
index 79c07f8ef5b42350069d2c7d3c6243e509e67937..3fc1a3dd87ff59271d47fabb02da505b266ac93c 100644
(file)
--- a/
src/dhcpv4.c
+++ b/
src/dhcpv4.c
@@
-423,7
+423,7
@@
static bool dhcpv4_assign(struct interface *iface, struct dhcp_assignment *a,
}
}
-
notice
("Can't assign any IP address -> address space is full");
+
warn
("Can't assign any IP address -> address space is full");
return false;
}