summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/udp/AllTests.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-10-31 09:44:38 +0100
committerBenoit Foucher <benoit@zeroc.com>2014-10-31 09:44:38 +0100
commitac6e76795496c69e319ad14f8828ece2c6b052d2 (patch)
tree654b31f829c0acf6e994dc2599118423fbbcce54 /cpp/test/Ice/udp/AllTests.cpp
parentFixed UDP multicast test failure with IPv6 (diff)
downloadice-ac6e76795496c69e319ad14f8828ece2c6b052d2.tar.bz2
ice-ac6e76795496c69e319ad14f8828ece2c6b052d2.tar.xz
ice-ac6e76795496c69e319ad14f8828ece2c6b052d2.zip
Another fix for UDP multicast IPv6 test
Diffstat (limited to 'cpp/test/Ice/udp/AllTests.cpp')
-rw-r--r--cpp/test/Ice/udp/AllTests.cpp6
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
{