open_socket_in was attempting to try all the protocols returned from
authorDavid Dykstra <dwd@samba.org>
Fri, 14 Dec 2001 18:00:54 +0000 (18:00 +0000)
committerDavid Dykstra <dwd@samba.org>
Fri, 14 Dec 2001 18:00:54 +0000 (18:00 +0000)
commitcb1bcc7ebbb84a056a63fd09e47c456509c52411
treeb96ce1764046e86c846e781521a5706c56848984
parent19ba7d6318a897841f029a10453870fd430b89ef
open_socket_in was attempting to try all the protocols returned from
getaddrinfo(), but only if a corresponding call to socket() returned one of
three *NOSUPPORT errno codes.  A Redhat 6.2 system was observed returning
EINVAL instead so it never went on to try IPv4.  This update adds EINVAL to
the list.  Question: why not always continue through the list regardless of
what errno is?
socket.c