summaryrefslogtreecommitdiff
path: root/networking/udhcp/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/common.c')
-rw-r--r--networking/udhcp/common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index b325c41..31e525c 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -185,6 +185,13 @@ const uint8_t dhcp_option_lengths[] ALIGN1 = {
*/
};
+#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 1
+void FAST_FUNC log1s(const char *msg)
+{
+ if (dhcp_verbose >= 1)
+ bb_simple_info_msg(msg);
+}
+#endif
#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 2
static void log_option(const char *pfx, const uint8_t *opt)