[git commit] udhcp: fix trivial compile error

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 19 11:51:29 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=7a76eba1f6711ed64902f7b20277b0a2d1645062
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master


Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/udhcp/Config.in |    4 ++--
 networking/udhcp/packet.c  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in
index a31240a..5f76dd8 100644
--- a/networking/udhcp/Config.in
+++ b/networking/udhcp/Config.in
@@ -75,9 +75,9 @@ config FEATURE_UDHCP_PORT
 	  This feature is typically not needed.
 
 config UDHCP_DEBUG
-	int "Maximum verbosity level for udhcp applets (0..3)"
+	int "Maximum verbosity level for udhcp applets (0..9)"
 	default 0
-	range 0 3
+	range 0 9
 	depends on APP_UDHCPD || APP_UDHCPC || APP_DHCPRELAY
 	help
 	  Verbosity can be increased with multiple -v options.
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
index d53c02d..4c72d7a 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)
 	add_simple_option(packet->options, DHCP_MESSAGE_TYPE, type);
 }
 
-#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 1
+#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 2
 void FAST_FUNC udhcp_dump_packet(struct dhcp_packet *packet)
 {
 	char buf[sizeof(packet->chaddr)*2 + 1];
-- 
1.6.0.6


More information about the busybox-cvs mailing list