BIND 10 master, updated. ca4c3ad8a436b2c5660959d266c82b692271c158 [master] Use loopback in tests
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Apr 8 09:09:55 UTC 2011
The branch, master has been updated
via ca4c3ad8a436b2c5660959d266c82b692271c158 (commit)
from a2d07257bc12397054a57d4190cc61419e572278 (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 ca4c3ad8a436b2c5660959d266c82b692271c158
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Fri Apr 8 11:08:53 2011 +0200
[master] Use loopback in tests
Since we couldn't have :: as destination address (it seems), we use ::1,
which should be possible.
-----------------------------------------------------------------------
Summary of changes:
src/bin/sockcreator/tests/sockcreator_tests.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/sockcreator/tests/sockcreator_tests.cc b/src/bin/sockcreator/tests/sockcreator_tests.cc
index 6065ffe..73cbf48 100644
--- a/src/bin/sockcreator/tests/sockcreator_tests.cc
+++ b/src/bin/sockcreator/tests/sockcreator_tests.cc
@@ -64,7 +64,7 @@ namespace {
// Just helper macros
#define INADDR_SET(WHAT) do { WHAT.sin_addr.s_addr = INADDR_ANY; } while (0)
-#define IN6ADDR_SET(WHAT) do { WHAT.sin6_addr = in6addr_any; } while (0)
+#define IN6ADDR_SET(WHAT) do { WHAT.sin6_addr = in6addr_loopback; } while (0)
// If the get_sock returned something useful, listen must work
#define TCP_CHECK(UNUSED, SOCKET) do { \
EXPECT_EQ(0, listen(SOCKET, 1)); \
More information about the bind10-changes
mailing list