--- libtransmission/fdlimit.c.orig	2015-07-01 00:54:41 UTC
+++ libtransmission/fdlimit.c
@@ -517,7 +517,7 @@ tr_fdSocketCreate (tr_session * session,
 
   if (gFd->peerCount < session->peerLimit)
     if ((s = socket (domain, type, 0)) == TR_BAD_SOCKET)
-      if (sockerrno != EAFNOSUPPORT)
+      if (sockerrno != EPROTONOSUPPORT)
         {
           char err_buf[512];
           tr_logAddError (_("Couldn't create socket: %s"),
