diff options
Diffstat (limited to 'java/ssl/jdk1.5/IceSSL/EndpointI.java')
-rw-r--r-- | java/ssl/jdk1.5/IceSSL/EndpointI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/ssl/jdk1.5/IceSSL/EndpointI.java b/java/ssl/jdk1.5/IceSSL/EndpointI.java index 4af762a069d..8cf0f559fa4 100644 --- a/java/ssl/jdk1.5/IceSSL/EndpointI.java +++ b/java/ssl/jdk1.5/IceSSL/EndpointI.java @@ -362,10 +362,10 @@ final class EndpointI extends IceInternal.EndpointI // // Expand endpoint out in to separate endpoints for each local - // host if endpoint was configured with no host set. + // host if listening on INADDR_ANY. // public java.util.ArrayList - expand(boolean includeLoopback) + expand() { java.util.ArrayList endps = new java.util.ArrayList(); if(_host.equals("0.0.0.0")) @@ -375,7 +375,7 @@ final class EndpointI extends IceInternal.EndpointI while(iter.hasNext()) { String host = (String)iter.next(); - if(includeLoopback || hosts.size() == 1 || !host.equals("127.0.0.1")) + if(hosts.size() == 1 || !host.equals("127.0.0.1")) { endps.add(new EndpointI(_instance, host, _port, _timeout, _connectionId, _compress)); |