BIND 10 trac983, updated. 78942e3fc11f22f1bdbbd8fdd629691d5c510a55 [trac983] fixed solaris regression: socktype (and probably protocol) arguments must be specified explicitly.

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jul 12 01:17:29 UTC 2011


The branch, trac983 has been updated
       via  78942e3fc11f22f1bdbbd8fdd629691d5c510a55 (commit)
      from  8945eccce758dd466ac42c6521a3fc4ada5a9226 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 78942e3fc11f22f1bdbbd8fdd629691d5c510a55
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Jul 12 01:16:39 2011 +0000

    [trac983] fixed solaris regression: socktype (and probably protocol) arguments
    must be specified explicitly.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/python/isc/acl/tests/dns_test.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/acl/tests/dns_test.py b/src/lib/python/isc/acl/tests/dns_test.py
index 3924222..a38359e 100644
--- a/src/lib/python/isc/acl/tests/dns_test.py
+++ b/src/lib/python/isc/acl/tests/dns_test.py
@@ -20,7 +20,8 @@ from isc.acl.dns import *
 
 def get_sockaddr(address, port):
     '''This is a simple shortcut wrapper for getaddrinfo'''
-    ai = socket.getaddrinfo(address, port, 0, 0, 0, socket.AI_NUMERICHOST)[0]
+    ai = socket.getaddrinfo(address, port, 0, socket.SOCK_DGRAM,
+                            socket.IPPROTO_UDP, socket.AI_NUMERICHOST)[0]
     return ai[4]
 
 def get_acl(prefix):




More information about the bind10-changes mailing list