dhcvp4: use tmp fd in dhcpv4_setup_interface()
authorDavid Härdeman <[email protected]>
Fri, 17 Oct 2025 11:54:50 +0000 (13:54 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Sun, 23 Nov 2025 19:05:03 +0000 (20:05 +0100)
commit24f0135006910abf619831b2b7a881895e6d15ff
tree0d23c37ae1ee9a32c98927bedb2e3e73218ee8ce
parentc10784ece29c13f91517ef016b1b9d281dd4a2a7
dhcvp4: use tmp fd in dhcpv4_setup_interface()

This makes the code a little bit easier to read.

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