dhcpv6: use a per-interface IAID for IA_NA requests
authorDavid Härdeman <[email protected]>
Mon, 20 Oct 2025 16:29:36 +0000 (18:29 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Tue, 21 Oct 2025 16:57:38 +0000 (18:57 +0200)
commite24ac1cf8c27116705f6abedd89be4d7533fc511
treeac21fd67c943a7da1741eb49271ed904270c4001
parent053e6c4b386348834e35e5fefc921fadc0e64025
dhcpv6: use a per-interface IAID for IA_NA requests

This ensures that the same IAID isn't used when odhcpd is e.g. running
on different interfaces (RFC8415, §12). This is more important now that
global DUID support has landed [1], meaning that odhcp6c won't typically
use per-interface DUIDs.

[1] https://github.com/openwrt/openwrt/pull/20359

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcp6c/pull/105
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/dhcpv6.c