dhcpv4: iface->dhcpv4_router -> iface->dhcpv4_routers
authorDavid Härdeman <[email protected]>
Sat, 22 Nov 2025 09:13:02 +0000 (10:13 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 27 Nov 2025 07:24:31 +0000 (08:24 +0100)
commita05cc991716c7cbd292ab7c9775327b7f7d0922e
tree6cf1111876d745af1e76a59337e7c4dea61bc45f
parent0a54ce0d2b578f77aac40684766cd8d1b7c104cf
dhcpv4: iface->dhcpv4_router -> iface->dhcpv4_routers

This makes it clearer that the variable stores multiple addresses, also
fix a potential realloc memleak.

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]>
README.md
src/config.c
src/dhcpv4.c
src/odhcpd.h