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

Jean-Noël Rouvignac
28.58.2016 0d0f11e1c040e8420f16b85d76a30fb0418f02cd
opendj-cli/src/main/java/com/forgerock/opendj/cli/Utils.java
@@ -549,10 +549,15 @@
    /**
     * Returns the string that can be used to represent a given host name in a LDAP URL.
     * This method must be used when we have IPv6 addresses (the address in the LDAP URL
     *  must be enclosed with brackets).
     *  E.g:<pre>
     * must be enclosed with brackets).
     * <p>
     * E.g:
     *
     * <pre>
     *  -h "[2a01:e35:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]"
     *  </pre>
     * </pre>
     *
     * Note: it would be nice to replace this method by {@code HostPort}
     *
     * @param host
     *            The host name.