odhcpd: rename iface->search -> iface->dns_search
authorDavid Härdeman <[email protected]>
Thu, 20 Nov 2025 16:17:49 +0000 (17:17 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 27 Nov 2025 07:24:27 +0000 (08:24 +0100)
commit0a54ce0d2b578f77aac40684766cd8d1b7c104cf
tree6575e53e881bf88d8e5334a952295fdcd72a6d35
parent83055f636091a41abc3aae69c3c0346425b9f857
odhcpd: rename iface->search -> iface->dns_search

And fix some bugs/nits in the process, e.g.:
 - realloc() not handled properly in config.c
 - replace a number of magic values
 - in router.c, the DNSSL options has 8 bytes of superfluous padding

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/320
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/config.c
src/dhcpv4.c
src/dhcpv4.h
src/dhcpv6.c
src/odhcpd.h
src/router.c
src/statefiles.c