summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-12-19 16:31:09 +0000
committerBernhard Reutner-Fischer2006-12-19 16:31:09 +0000
commit28fbd69bf8a0482de2816cc189fdd0e9ed551997 (patch)
treec2d7e7b1e0b9b87748cb74b52dd3599d5500feca /networking/udhcp/dhcpd.c
parent359d7ca0e70d4acfc3b7e792bf28f5b5581af8ff (diff)
downloadbusybox-28fbd69bf8a0482de2816cc189fdd0e9ed551997.zip
busybox-28fbd69bf8a0482de2816cc189fdd0e9ed551997.tar.gz
- use xlisten/xsocket some more. Saves .25 kB
Diffstat (limited to 'networking/udhcp/dhcpd.c')
-rw-r--r--networking/udhcp/dhcpd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 7438036..7d0b8fa 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -70,10 +70,6 @@ int udhcpd_main(int argc, char *argv[])
if (server_socket < 0) {
server_socket = listen_socket(INADDR_ANY, SERVER_PORT, server_config.interface);
- if (server_socket < 0) {
- bb_perror_msg("FATAL: cannot create server socket");
- return 2;
- }
}
max_sock = udhcp_sp_fd_set(&rfds, server_socket);