aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-19 13:51:29 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-19 13:51:29 +0200
commit7a76eba1f6711ed64902f7b20277b0a2d1645062 (patch)
tree2202661c6a30ca8c6c0ce099c798594c7e39f490 /networking
parent8e5d83b6c1d91e4e61d340656338597ab1dea3f9 (diff)
downloadbusybox-w32-7a76eba1f6711ed64902f7b20277b0a2d1645062.tar.gz
busybox-w32-7a76eba1f6711ed64902f7b20277b0a2d1645062.tar.bz2
busybox-w32-7a76eba1f6711ed64902f7b20277b0a2d1645062.zip
udhcp: fix trivial compile error
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/Config.in4
-rw-r--r--networking/udhcp/packet.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in
index a31240a45..5f76dd8d4 100644
--- a/networking/udhcp/Config.in
+++ b/networking/udhcp/Config.in
@@ -75,9 +75,9 @@ config FEATURE_UDHCP_PORT
75 This feature is typically not needed. 75 This feature is typically not needed.
76 76
77config UDHCP_DEBUG 77config UDHCP_DEBUG
78 int "Maximum verbosity level for udhcp applets (0..3)" 78 int "Maximum verbosity level for udhcp applets (0..9)"
79 default 0 79 default 0
80 range 0 3 80 range 0 9
81 depends on APP_UDHCPD || APP_UDHCPC || APP_DHCPRELAY 81 depends on APP_UDHCPD || APP_UDHCPC || APP_DHCPRELAY
82 help 82 help
83 Verbosity can be increased with multiple -v options. 83 Verbosity can be increased with multiple -v options.
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
index d53c02dd5..4c72d7a63 100644
--- a/networking/udhcp/packet.c
+++ b/networking/udhcp/packet.c
@@ -36,7 +36,7 @@ void FAST_FUNC udhcp_init_header(struct dhcp_packet *packet, char type)
36 add_simple_option(packet->options, DHCP_MESSAGE_TYPE, type); 36 add_simple_option(packet->options, DHCP_MESSAGE_TYPE, type);
37} 37}
38 38
39#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 1 39#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 2
40void FAST_FUNC udhcp_dump_packet(struct dhcp_packet *packet) 40void FAST_FUNC udhcp_dump_packet(struct dhcp_packet *packet)
41{ 41{
42 char buf[sizeof(packet->chaddr)*2 + 1]; 42 char buf[sizeof(packet->chaddr)*2 + 1];