ubus: connect to UBus backend
authorNicolas BESNARD <nico.besnard31@gmail.com>
Wed, 20 Nov 2024 13:20:49 +0000 (13:20 +0000)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
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 <nico.besnard31@gmail.com>
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Link: https://github.com/openwrt/odhcp6c/pull/106
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
.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]