reconfigure: implement DHCP reconfiguration
authorNicolas BESNARD <[email protected]>
Tue, 26 Nov 2024 16:29:27 +0000 (16:29 +0000)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 3 Nov 2025 15:21:24 +0000 (16:21 +0100)
commit93f056d3a1f2873a19c6a42b1c31fde2f87f4763
tree1fe38287720e2449f35cae9248c415776be681ce
parentaf669fb23cd3b8090beda8bbeda0df57e92eb204
reconfigure: implement DHCP reconfiguration

Problem: To update DHCP parameters/options, the process needed to be
restarted with the new arguments. It makes odhcp6c not very flexible,
making it impossible to keep track of the total packet statistics.

Solution: Add a new ubus method to reconfigure DHCP without restarting
the process.

Signed-off-by: Nicolas BESNARD <[email protected]>
Signed-off-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/odhcp6c/pull/106
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
README
src/dhcpv6.c
src/odhcp6c.c
src/odhcp6c.h
src/ubus.c