summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-12 19:29:44 +0000
committerDenis Vlasenko2006-10-12 19:29:44 +0000
commita6dbb08a48903cb8f31fad2cf2d1cffa92bd4808 (patch)
treef7f2113941a2dc0385080baa7656ead41f45f834 /networking/udhcp
parent12f5676cce3b2e04668df3f18f94f1a3c7fdbb9e (diff)
downloadbusybox-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.zip
busybox-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.tar.gz
small style fixes
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/dhcpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index f2cf82f..e2ddf4f 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -448,7 +448,7 @@ int udhcpc_main(int argc, char *argv[])
}
if ((message = get_option(&packet, DHCP_MESSAGE_TYPE)) == NULL) {
- bb_error_msg("Couldnt get option from packet - ignoring");
+ bb_error_msg("cannot get option from packet - ignoring");
continue;
}
@@ -467,7 +467,7 @@ int udhcpc_main(int argc, char *argv[])
timeout = now;
packet_num = 0;
} else {
- bb_error_msg("No server ID in message");
+ bb_error_msg("no server ID in message");
}
}
break;
@@ -478,7 +478,7 @@ int udhcpc_main(int argc, char *argv[])
if (*message == DHCPACK) {
temp = get_option(&packet, DHCP_LEASE_TIME);
if (!temp) {
- bb_error_msg("No lease time with ACK, using 1 hour lease");
+ bb_error_msg("no lease time with ACK, using 1 hour lease");
lease = 60 * 60;
} else {
lease = ntohl(*(uint32_t*)temp);