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

jvergara
23.51.2009 5dd35ae2e29ec569de41bca273bfe7ef2921b7e5
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) {