udhcp: fix trivial compile error
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 19 Jun 2009 11:51:29 +0000 (13:51 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 19 Jun 2009 11:51:29 +0000 (13:51 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/Config.in
networking/udhcp/packet.c

index a31240a45fa47dcb35e4363faa65e0e8b1d1231f..5f76dd8d449c69048f0a407829cad5a1754a3167 100644 (file)
@@ -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.
index d53c02dd5c6e51691d12111e2b1b0247960148ad..4c72d7a6300a5ce68fd8b34552279e0183245976 100644 (file)
@@ -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];