- use xlisten/xsocket some more. Saves .25 kB

This commit is contained in:
Bernhard Reutner-Fischer
2006-12-19 16:31:09 +00:00
parent 359d7ca0e7
commit 28fbd69bf8
6 changed files with 9 additions and 35 deletions

View File

@ -278,10 +278,6 @@ int udhcpc_main(int argc, char *argv[])
fd = listen_socket(INADDR_ANY, CLIENT_PORT, client_config.interface);
else
fd = raw_socket(client_config.ifindex);
if (fd < 0) {
bb_perror_msg("FATAL: cannot listen on socket");
return 0;
}
}
max_fd = udhcp_sp_fd_set(&rfds, fd);