diff options
author | Denis Vlasenko | 2008-09-26 09:34:59 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-09-26 09:34:59 +0000 |
commit | f1980f67d3b005090a31b7465d219e8ca19c5736 (patch) | |
tree | 746646c47f2c42f4b94ced5cb89774406d3e8a24 /networking/udhcp/dhcpd.c | |
parent | cdb0b652ddd6bfbc4d83e21453b3b4137b887e18 (diff) | |
download | busybox-f1980f67d3b005090a31b7465d219e8ca19c5736.zip busybox-f1980f67d3b005090a31b7465d219e8ca19c5736.tar.gz |
dhcp: add FAST_FUNC as appropriate. -160 bytes.
Diffstat (limited to 'networking/udhcp/dhcpd.c')
-rw-r--r-- | networking/udhcp/dhcpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 0cd6b9d..b512c45 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -94,7 +94,7 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) leases = xzalloc(server_config.max_leases * sizeof(*leases)); read_leases(server_config.lease_file); - if (read_interface(server_config.interface, &server_config.ifindex, + if (udhcp_read_interface(server_config.interface, &server_config.ifindex, &server_config.server, server_config.arp)) { retval = 1; goto ret; @@ -107,7 +107,7 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) while (1) { /* loop until universe collapses */ if (server_socket < 0) { - server_socket = listen_socket(/*INADDR_ANY,*/ SERVER_PORT, + server_socket = udhcp_listen_socket(/*INADDR_ANY,*/ SERVER_PORT, server_config.interface); } |