BIND 10 master, updated. 1293abbaa78190c5d464f220ff4b29d753e2e9df [master] use TCP socket to emulate the scenario of duplicate bind(); on Solaris SO_REUSEADDR allow multiple UDP sockets bound to the same port (seemingly for the old multicast extension). committing it at my discretion as it's simple and the problem made buildbot fail.
BIND 10 source code commits
bind10-changes at lists.isc.org
Sun Jan 1 18:09:26 UTC 2012
The branch, master has been updated
via 1293abbaa78190c5d464f220ff4b29d753e2e9df (commit)
from 3f9c1cb430c81ce8b373d48af7fb1610a046f562 (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 1293abbaa78190c5d464f220ff4b29d753e2e9df
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Sun Jan 1 18:07:15 2012 +0000
[master] use TCP socket to emulate the scenario of duplicate bind();
on Solaris SO_REUSEADDR allow multiple UDP sockets bound to the same port
(seemingly for the old multicast extension).
committing it at my discretion as it's simple and the problem made buildbot
fail.
-----------------------------------------------------------------------
Summary of changes:
src/bin/resolver/tests/resolver_config_unittest.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/resolver/tests/resolver_config_unittest.cc b/src/bin/resolver/tests/resolver_config_unittest.cc
index 7169331..2fced6b 100644
--- a/src/bin/resolver/tests/resolver_config_unittest.cc
+++ b/src/bin/resolver/tests/resolver_config_unittest.cc
@@ -197,8 +197,8 @@ createSocket(const char* address, const char* port) {
struct addrinfo hints, *res;
memset(&hints, 0, sizeof(hints));
hints.ai_family = AF_UNSPEC;
- hints.ai_socktype = SOCK_DGRAM;
- hints.ai_protocol = IPPROTO_UDP;
+ hints.ai_socktype = SOCK_STREAM;
+ hints.ai_protocol = IPPROTO_TCP;
hints.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV;
const int error = getaddrinfo(address, port, &hints, &res);
if (error != 0) {
More information about the bind10-changes
mailing list