odhcp6c: accept EUI64 and random for interface ID master
authorÁlvaro Fernández Rojas <[email protected]>
Sun, 30 Nov 2025 21:58:35 +0000 (22:58 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 4 Dec 2025 07:53:51 +0000 (08:53 +0100)
commitf19dd37fb467c9cf10cad57aefa0d048312d7dfd
treefcc7cf40bb67b84a729a1a3dd245fd57eec0ab36
parente955729c781fa117f45eee99401ae0b059c1ebac
odhcp6c: accept EUI64 and random for interface ID

ip6ifaceid is now properly passed to odhcp6c in OpenWrt scripts, which is
broken if we don't support 'eui64' and 'random' options.
Instead of printing help and exiting when an invalid fixed address is
configured, let's just log an error and pretend that no interface ID was
passed to odhcp6c.

Closes https://github.com/openwrt/openwrt/issues/20976

Link: https://github.com/openwrt/odhcp6c/pull/130
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/odhcp6c.c
src/odhcp6c.h
src/ra.c
src/ra.h