statefiles: add dhcpv6_lease to dhcpv6_log_ia_addr() args
authorDavid Härdeman <[email protected]>
Sat, 8 Nov 2025 13:22:23 +0000 (14:22 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Tue, 11 Nov 2025 07:30:17 +0000 (08:30 +0100)
commitcc614a451f9b16110060e8b546a51b0276a8fe53
tree84d5496051cc9c943dfe54fba7a272e485d7ef1b
parent8500654e39d53b0688dd65f47a78090ff0a5e055
statefiles: add dhcpv6_lease to dhcpv6_log_ia_addr() args

"lease" is more obvious than "ctxt->c" (which is a struct dhcpv6_lease).
This also means that the lease can be moved out from "struct
write_ctxt", so that the dhcpv4 and dhcpv6 code looks more similar.

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