summaryrefslogtreecommitdiff
path: root/java/test/Ice/udp/Server.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/udp/Server.java')
-rw-r--r--java/test/Ice/udp/Server.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/Ice/udp/Server.java b/java/test/Ice/udp/Server.java
index 6fb99ce4636..c25d0f7f428 100644
--- a/java/test/Ice/udp/Server.java
+++ b/java/test/Ice/udp/Server.java
@@ -53,7 +53,7 @@ public class Server extends test.Util.Application
initData.properties.setProperty("Ice.UDP.SndSize", "16384");
String host;
- if(initData.properties.getProperty("Ice.IPv6") == "1")
+ if(initData.properties.getProperty("Ice.IPv6").equals("1"))
{
host = "\"ff01::1:1\"";
}