--- libtransmission/fdlimit.c.orig	2013-06-26 05:35:25.603458000 +0300
+++ libtransmission/fdlimit.c	2013-06-30 10:01:10.000000000 +0300
@@ -668,7 +668,7 @@
 
   if (gFd->peerCount < session->peerLimit)
     if ((s = socket (domain, type, 0)) < 0)
-      if (sockerrno != EAFNOSUPPORT)
+      if (sockerrno != EPROTONOSUPPORT)
         tr_logAddError (_("Couldn't create socket: %s"), tr_strerror (sockerrno));
 
   if (s > -1)
