summaryrefslogtreecommitdiff
path: root/csharp/test/IceDiscovery/simple/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/IceDiscovery/simple/run.py')
-rwxr-xr-xcsharp/test/IceDiscovery/simple/run.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/csharp/test/IceDiscovery/simple/run.py b/csharp/test/IceDiscovery/simple/run.py
index fdb42d64382..a8e7fe8242e 100755
--- a/csharp/test/IceDiscovery/simple/run.py
+++ b/csharp/test/IceDiscovery/simple/run.py
@@ -33,6 +33,9 @@ if TestUtil.isDarwin() and TestUtil.ipv6:
print("test not supported on OS X with IPv6")
sys.exit(0)
+if not TestUtil.ipv6:
+ args += " --IceDiscovery.Interface=127.0.0.1"
+
serverProc = []
for i in range(0, num):
sys.stdout.write("starting server #%d... " % (i + 1))