From: David Härdeman Date: Tue, 7 Oct 2025 11:39:25 +0000 (+0200) Subject: odhcpd: fix ubus support flag in help msg X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=d31d64efd56cf50c537da680d240fa2a4112c205;p=project%2Fodhcpd.git odhcpd: fix ubus support flag in help msg 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 --- 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