diff options
author | Denys Vlasenko | 2009-06-17 11:54:52 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-06-17 11:54:52 +0200 |
commit | ac906fa85e61b4e34161709de777616f858bc945 (patch) | |
tree | 7b247714814fd9dcf3fd3dccf954521b29eef5a2 /networking/udhcp/common.c | |
parent | ed8982bfc0e9895fe707a5f6152cf184e06f2052 (diff) | |
download | busybox-ac906fa85e61b4e34161709de777616f858bc945.zip busybox-ac906fa85e61b4e34161709de777616f858bc945.tar.gz |
udhcp: change UDHCP_DEBUG into int, make verbosity selectable with -v
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/common.c')
-rw-r--r-- | networking/udhcp/common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index a47bbaf..c44f382 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c @@ -3,9 +3,12 @@ * * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ - #include "common.h" +#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 1 +int dhcp_verbose; +#endif + const uint8_t MAC_BCAST_ADDR[6] ALIGN2 = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; |