projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bc1b4e
)
odhcpd: fix ubus support flag in help msg
author
David Härdeman
<
[email protected]
>
Tue, 7 Oct 2025 11:39:25 +0000
(13:39 +0200)
committer
Álvaro Fernández Rojas
<
[email protected]
>
Thu, 9 Oct 2025 06:48:28 +0000
(08:48 +0200)
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 <
[email protected]
>
Link:
https://github.com/openwrt/odhcpd/pull/270
Signed-off-by: Álvaro Fernández Rojas <
[email protected]
>
src/odhcpd.c
patch
|
blob
|
history
diff --git
a/src/odhcpd.c
b/src/odhcpd.c
index e0385480f7b643ce8d703e85731bf5183951fd6b..313dae1129b990232c4b01dd726da2057f87217d 100644
(file)
--- 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