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>
#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