diff options
Diffstat (limited to 'tests/INET_Addr_Test.cpp')
-rw-r--r-- | tests/INET_Addr_Test.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/INET_Addr_Test.cpp b/tests/INET_Addr_Test.cpp index 5a25bd54fba..4f026f19114 100644 --- a/tests/INET_Addr_Test.cpp +++ b/tests/INET_Addr_Test.cpp @@ -46,10 +46,10 @@ int check_type_consistency (const ACE_INET_Addr &addr) if (addr.get_type () != family) { ACE_ERROR ((LM_ERROR, - ACE_TEXT ("Inconsistency between ACE_SOCK::addr_type_ (%d) ") - ACE_TEXT ("and the sockaddr family (%d)\n"), - addr.get_type (), - family)); + ACE_TEXT ("Inconsistency between ACE_SOCK::addr_type_ (%d) ") + ACE_TEXT ("and the sockaddr family (%d)\n"), + addr.get_type (), + family)); return 1; } return 0; @@ -189,7 +189,7 @@ int run_main (int argc, ACE_TCHAR *argv[]) } #if defined (ACE_HAS_IPV6) - if (ACE::ipv6_enabled ()) + if (ACE_Sock_Connect::ipv6_enabled ()) { const char *ipv6_addresses[] = { "1080::8:800:200c:417a", // unicast address @@ -202,7 +202,7 @@ int run_main (int argc, ACE_TCHAR *argv[]) for (int i=0; ipv6_addresses[i] != 0; i++) { ACE_INET_Addr addr (80, ipv6_addresses[i]); - status |= check_type_consistency (addr); + status |= check_type_consistency (addr); if (0 != ACE_OS::strcmp (addr.get_host_addr (), ipv6_addresses[i])) { |