summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-29 21:30:43 +0000
committerDenis Vlasenko2006-09-29 21:30:43 +0000
commita959588b80529ef5e02048ed71f3c7bf9a117217 (patch)
tree331b3963cb98fded02b753ca33bfa37cb48a97c6 /networking/udhcp
parent6c30db8bd37da1466dc71bf3c8c20851d8f46c43 (diff)
downloadbusybox-a959588b80529ef5e02048ed71f3c7bf9a117217.zip
busybox-a959588b80529ef5e02048ed71f3c7bf9a117217.tar.gz
Yet another silly little byte saving. couldn't -> cannot
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/clientpacket.c2
-rw-r--r--networking/udhcp/dhcpc.c2
-rw-r--r--networking/udhcp/dhcpd.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c
index f7e7d44..f9f5a3b 100644
--- a/networking/udhcp/clientpacket.c
+++ b/networking/udhcp/clientpacket.c
@@ -172,7 +172,7 @@ int get_raw_packet(struct dhcpMessage *payload, int fd)
memset(&packet, 0, sizeof(struct udp_dhcp_packet));
bytes = read(fd, &packet, sizeof(struct udp_dhcp_packet));
if (bytes < 0) {
- DEBUG("Couldn't read on raw listening socket - ignoring");
+ DEBUG("Cannot read on raw listening socket - ignoring");
usleep(500000); /* possible down interface, looping condition */
return -1;
}
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 499183f..9ab6aee 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -320,7 +320,7 @@ int udhcpc_main(int argc, char *argv[])
else
fd = raw_socket(client_config.ifindex);
if (fd < 0) {
- bb_perror_msg("FATAL: couldn't listen on socket");
+ bb_perror_msg("FATAL: cannot listen on socket");
return 0;
}
}
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index bee4ffd..62057be 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -90,7 +90,7 @@ int udhcpd_main(int argc, char *argv[])
if (server_socket < 0)
if ((server_socket = listen_socket(INADDR_ANY, SERVER_PORT, server_config.interface)) < 0) {
- bb_perror_msg("FATAL: couldn't create server socket");
+ bb_perror_msg("FATAL: cannot create server socket");
return 2;
}
@@ -137,7 +137,7 @@ int udhcpd_main(int argc, char *argv[])
}
if ((state = get_option(&packet, DHCP_MESSAGE_TYPE)) == NULL) {
- bb_error_msg("Couldn't get option from packet, ignoring");
+ bb_error_msg("cannot get option from packet, ignoring");
continue;
}
@@ -165,7 +165,7 @@ int udhcpd_main(int argc, char *argv[])
DEBUG("Received DISCOVER");
if (sendOffer(&packet) < 0) {
- bb_error_msg("Send OFFER failed");
+ bb_error_msg("send OFFER failed");
}
break;
case DHCPREQUEST: