INN commit: branches/2.4/innfeed (host.c)

INN Commit Russ_Allbery at isc.org
Wed May 14 19:01:07 UTC 2008


    Date: Wednesday, May 14, 2008 @ 12:01:06
  Author: iulius
Revision: 7831

Fix a bug in ipAddrs which contained thrice the same IPs.
Rotating the peer IP addresses was a bit slower than it could be.

Thanks, D. Stussy, for having seen that.
Miquel van Smoorenburg provided the patch.

Modified:
  branches/2.4/innfeed/host.c

--------+
 host.c |    1 +
 1 file changed, 1 insertion(+)

Modified: host.c
===================================================================
--- host.c	2008-05-14 18:57:39 UTC (rev 7830)
+++ host.c	2008-05-14 19:01:06 UTC (rev 7831)
@@ -1158,6 +1158,7 @@
 
       memset(&hints, 0, sizeof(hints));
       hints.ai_family = family ? family : AF_UNSPEC;
+      hints.ai_socktype = SOCK_STREAM;
 #ifdef AI_ADDRCONFIG
       hints.ai_flags = AI_ADDRCONFIG;
 #endif



More information about the inn-committers mailing list