aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-17 11:54:52 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-17 11:54:52 +0200
commitac906fa85e61b4e34161709de777616f858bc945 (patch)
tree7b247714814fd9dcf3fd3dccf954521b29eef5a2 /networking/udhcp/common.c
parented8982bfc0e9895fe707a5f6152cf184e06f2052 (diff)
downloadbusybox-w32-ac906fa85e61b4e34161709de777616f858bc945.tar.gz
busybox-w32-ac906fa85e61b4e34161709de777616f858bc945.tar.bz2
busybox-w32-ac906fa85e61b4e34161709de777616f858bc945.zip
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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index a47bbafff..c44f38239 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -3,9 +3,12 @@
3 * 3 *
4 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 4 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
5 */ 5 */
6
7#include "common.h" 6#include "common.h"
8 7
8#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 1
9int dhcp_verbose;
10#endif
11
9const uint8_t MAC_BCAST_ADDR[6] ALIGN2 = { 12const uint8_t MAC_BCAST_ADDR[6] ALIGN2 = {
10 0xff, 0xff, 0xff, 0xff, 0xff, 0xff 13 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
11}; 14};