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

jvergara
17.35.2008 86fe9e583a1f76f21160d5208a94be87cf148890
Fix a regression introduced when fixing 3668.  Do not use the String representation of the address object but call its getHostAddress method.
1 files modified
2 ■■■ changed files
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java 2 ●●● patch | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java
@@ -893,7 +893,7 @@
          {
            InetAddress address = addresses.first();
            url = sProtocol +"://"+
            ConnectionUtils.getHostNameForLdapUrl(address.toString())+":"+
            ConnectionUtils.getHostNameForLdapUrl(address.getHostAddress())+":"+
            port;
          }
        }