With getaddrinfo we could get back theorethically
an protocol family that we don't support on the
local client. Now we set our hints better we are
probably safe but lets put in some extra safeguards.
berrno be;
save_errno = errno;
switch (errno) {
+#ifdef EPFNOSUPPORT
+ case EPFNOSUPPORT:
+ /*
+ * The name lookup of the host returned an address in a protocol family
+ * we don't support. Suppress the error and try the next address.
+ */
+ break;
+#endif
#ifdef EAFNOSUPPORT
case EAFNOSUPPORT:
/*
- * The name lookup of the host returned an address in a protocol family
+ * The name lookup of the host returned an address in a address family
* we don't support. Suppress the error and try the next address.
*/
break;