summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Härdeman2025-10-07 11:39:25 +0000
committerÁlvaro Fernández Rojas2025-10-09 06:48:28 +0000
commitd31d64efd56cf50c537da680d240fa2a4112c205 (patch)
tree9f47528f31c550e0aad9e0a8cfa9eb7e94820c5c
parent9bc1b4e26e105f2c1b5bf9f593fae8f982f99241 (diff)
downloadodhcpd-d31d64efd56cf50c537da680d240fa2a4112c205.tar.gz
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 <david@hardeman.nu> Link: https://github.com/openwrt/odhcpd/pull/270 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--src/odhcpd.c4
1 files 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