|
@@ -398,13 +398,6 @@ static int listen_all_addrinfo(struct addrinfo *ai_head, int sockfdlist[],
|
|
* (see do_standalone_mode()) */
|
|
* (see do_standalone_mode()) */
|
|
usbip_net_set_v6only(sock);
|
|
usbip_net_set_v6only(sock);
|
|
|
|
|
|
- if (sock >= FD_SETSIZE) {
|
|
|
|
- err("FD_SETSIZE: %s: sock=%d, max=%d",
|
|
|
|
- ai_buf, sock, FD_SETSIZE);
|
|
|
|
- close(sock);
|
|
|
|
- continue;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
ret = bind(sock, ai->ai_addr, ai->ai_addrlen);
|
|
ret = bind(sock, ai->ai_addr, ai->ai_addrlen);
|
|
if (ret < 0) {
|
|
if (ret < 0) {
|
|
err("bind: %s: %d (%s)",
|
|
err("bind: %s: %d (%s)",
|