summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-09-26 09:34:59 +0000
committerDenis Vlasenko2008-09-26 09:34:59 +0000
commitf1980f67d3b005090a31b7465d219e8ca19c5736 (patch)
tree746646c47f2c42f4b94ced5cb89774406d3e8a24 /networking/udhcp/dhcpc.c
parentcdb0b652ddd6bfbc4d83e21453b3b4137b887e18 (diff)
downloadbusybox-f1980f67d3b005090a31b7465d219e8ca19c5736.zip
busybox-f1980f67d3b005090a31b7465d219e8ca19c5736.tar.gz
dhcp: add FAST_FUNC as appropriate. -160 bytes.
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r--networking/udhcp/dhcpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 4cc42ea..5ec8d39 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -267,7 +267,7 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
client_config.opt_mask[n >> 3] |= 1 << (n & 7);
}
- if (read_interface(client_config.interface, &client_config.ifindex,
+ if (udhcp_read_interface(client_config.interface, &client_config.ifindex,
NULL, client_config.arp))
return 1;
#if !BB_MMU
@@ -322,9 +322,9 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
if (listen_mode != LISTEN_NONE && sockfd < 0) {
if (listen_mode == LISTEN_KERNEL)
- sockfd = listen_socket(/*INADDR_ANY,*/ CLIENT_PORT, client_config.interface);
+ sockfd = udhcp_listen_socket(/*INADDR_ANY,*/ CLIENT_PORT, client_config.interface);
else
- sockfd = raw_socket(client_config.ifindex);
+ sockfd = udhcp_raw_socket(client_config.ifindex);
}
max_fd = udhcp_sp_fd_set(&rfds, sockfd);
@@ -348,7 +348,7 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
* resend discover/renew/whatever
*/
if (retval == 0) {
- /* We will restart wait afresh in any case */
+ /* We will restart the wait in any case */
already_waited_sec = 0;
switch (state) {