EAFNOSUPPORT as well as EPROTONOSUPPORT. Irix 6.5.16m returns the
former.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15079
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-01-03 Ezra Peisach <epeisach@bu.edu>
+
+ * compat_recv.c (accept_a_connection): Test if IPv6 socket returns
+ EAFNOSUPPORT as well as EPROTONOSUPPORT. Irix 6.5.16m returns the
+ former.
+
2003-01-01 Ken Raeburn <raeburn@mit.edu>
* compat_recv.c: Include sys/select.h and port-sockets.h.
struct sockaddr_in6 sock_in6;
if ((s = socket(AF_INET6, SOCK_STREAM, PF_UNSPEC)) < 0) {
- if (errno == EPROTONOSUPPORT)
+ if ((errno == EPROTONOSUPPORT) || (errno == EAFNOSUPPORT))
goto skip_ipv6;
fprintf(stderr, "Error in socket(INET6): %s\n", strerror(errno));
exit(2);