This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via ecbc38df9f62ecffd1349b6f3b4fd234dbc08fe4 (commit)
from 529b93b8f6cc94830325cfde1b237f0ca04af38e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ecbc38df9f62ecffd1349b6f3b4fd234dbc08fe4
Author: Joan Lledó <[email protected]>
Date: Tue Jul 29 17:52:44 2025 +0200
lwip: allow setting an zero or broadcast address
After DHCPRELEASE, DHCP client sends a SIOCSIFADDR to set the
interface address to 0.0.0.0. This is not accepted by our IP
validator `ipv4config_is_valid()`. I think this use case is legit
so this commit makes the translator accept 0.0.0.0 as a valid address.
This assumes that a client trying to set IP to 0.0.0.0 is in fact trying
to remove the IP from the interface. Then it sets all fields to NONE, in
order to pass the validation.
* lwip/lwip-util.c: `configure_device`: Add the exception for 0.0.0.0
and 255.255.255.255.
Message-ID: <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
lwip/lwip-util.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
hooks/post-receive
--
Hurd