From d31d64efd56cf50c537da680d240fa2a4112c205 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Tue, 7 Oct 2025 13:39:25 +0200 Subject: [PATCH] odhcpd: fix ubus support flag in help msg MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The cmake definition is a bit sneaky, the cmake variable is "UBUS", but it leads to "WITH_UBUS" being defined for the compilation. Signed-off-by: David Härdeman Link: https://github.com/openwrt/odhcpd/pull/270 Signed-off-by: Álvaro Fernández Rojas --- src/odhcpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/odhcpd.c b/src/odhcpd.c index e038548..313dae1 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -61,11 +61,11 @@ static void print_usage(const char *app) #else " no-dhcpv4" #endif /* DHCPV4_SUPPORT */ -#ifdef UBUS +#ifdef WITH_UBUS " ubus" #else " no-ubus" -#endif /* UBUS */ +#endif /* WITH_UBUS */ #ifdef EXT_CER_ID " cer" #else -- 2.30.2