mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
23.51.2009 fbdb6aa2500f3004a3a3aa505d72e1e95492ebed
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java
@@ -889,9 +889,7 @@
        {
          if (port > 0)
          {
            url = sProtocol +"://"+
            ConnectionUtils.getHostNameForLdapUrl(
                server.getHostname())+":"+port;
            url = sProtocol +"://localhost:"+port;
          }
        }
        else
@@ -924,9 +922,7 @@
    SortedSet<InetAddress> addresses = desc.getAddresses();
    if (addresses.size() == 0) {
      if (port > 0) {
        url = "ldaps://" +
          ConnectionUtils.getHostNameForLdapUrl(
          server.getHostname()) + ":" + port;
        url = "ldaps://localhost:" + port;
      }
    } else {
      if (port > 0) {