diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/Ice/udp/AllTests.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/test/Ice/udp/AllTests.cpp b/cpp/test/Ice/udp/AllTests.cpp index 4d565788b0a..75db08e6a14 100644 --- a/cpp/test/Ice/udp/AllTests.cpp +++ b/cpp/test/Ice/udp/AllTests.cpp @@ -138,7 +138,11 @@ allTests(const CommunicatorPtr& communicator) string endpoint; if(communicator->getProperties()->getProperty("Ice.IPv6") == "1") { - endpoint = "udp -h \"ff15::1:1\" -p 12020 --interface \"lo0\""; +#ifdef __APPLE__ + endpoint = "udp -h \"ff15::1:1\" -p 12020 --interface \"::1\""; +#else + endpoint = "udp -h \"ff15::1:1\" -p 12020"; +#endif } else { |