]> git.ipfire.org Git - thirdparty/openwrt.git/commit
netifd: use stable IAID for DHCPv4 21489/head
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 10 Jan 2026 14:44:48 +0000 (15:44 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 14 Jan 2026 17:07:38 +0000 (18:07 +0100)
commite1c125c167e5c4fef16fd5e2bf670f290808b2d1
tree6217d38049a245bbab5b3cd34447fbc21a81ccb0
parente1f2b666ff94f2b8a50ca000d69f5b5f0b89a27c
netifd: use stable IAID for DHCPv4

Commit 9151c7015ed2 introduced support for the global DHCP DUID to
generate a RFC4361-style client identifier.
However, the IAID introduced in those changes is based on ifindex, which
is subject to changes and causes issues on environments requiring a stable
IAID.

This commit switches the IAID to a stable one based on MD5.

Fixes: 9151c7015ed2 ("netifd: use the global DHCP DUID for DHCPv4")
Link: https://github.com/openwrt/openwrt/pull/21489
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
package/network/config/netifd/Makefile
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh