ubus: connect to UBus backend
authorNicolas BESNARD <[email protected]>
Wed, 20 Nov 2024 13:20:49 +0000 (13:20 +0000)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 3 Nov 2025 15:21:17 +0000 (16:21 +0100)
commit33b972bc526a52dc73c6b58e8637d46d27a49481
tree69e2decc79d48e62697931b532d5b6a2bd8ddef2
parent2f609f248faf79d7a8965cfc3f04eb2c62ba9408
ubus: connect to UBus backend

Problem:
    odhcp6c is not connected to UBus making communication with other
    processes more difficult.

Solution:
    Connect odhcp6c to UBus back-end when the WITH_UBUS build time
    configuration option is set.

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]>
.github/workflows/ci.yml
CMakeLists.txt
scripts/devel-build.sh
src/odhcp6c.c
src/ubus.c [new file with mode: 0644]
src/ubus.h [new file with mode: 0644]