ubus: implement ubus methods to force a Renew and Release
authorNicolas BESNARD <[email protected]>
Wed, 22 Jan 2025 10:21:48 +0000 (10:21 +0000)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 3 Nov 2025 15:21:24 +0000 (16:21 +0100)
commit7b1f67c23de620f1f480e7d51eec87c6162c5510
treeebe1be533e70f7c127cb1836da3e84de356cb048
parent2b0e8f2d85418a5a2f50e3e04732dec906f2bf73
ubus: implement ubus methods to force a Renew and Release

Problem: Renew/Information-Request or Release messages are sent when
odhcp6c receives signal SIGUSR1 or SIGUSR2.
It should also be possible to trigger these messages via a ubus methods.

Solution: Implement two new ubus methods : release() and renew().

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]>
src/ubus.c