statefiles: add function to write IPv4 hosts
authorDavid Härdeman <david@hardeman.nu>
Sat, 8 Nov 2025 14:24:13 +0000 (15:24 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 11 Nov 2025 07:30:35 +0000 (08:30 +0100)
commit8b2a622504859463ad4fc21bdc395d850b06fb28
tree64a7e4bf11d84c534378e40e0f7ec6d36099d530
parent06904ee1d4fb583c86f67e2f6ccd022c8488a9d9
statefiles: add function to write IPv4 hosts

Analogous to statefiles_write_host6().

Signed-off-by: David Härdeman <david@hardeman.nu>
Link: https://github.com/openwrt/odhcpd/pull/302
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
src/statefiles.c