dhcpv4: bump problem scenario up to warn
authorPaul 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

index 79c07f8ef5b42350069d2c7d3c6243e509e67937..3fc1a3dd87ff59271d47fabb02da505b266ac93c 100644 (file)
@@ -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;
 }