ipToBytes(ipIn, candidate, true); candidate = ip4ToIp6(candidate); } else {
netmask[2] = (byte) ((fullMask & 0x0000FF00) >>> 8); netmask[3] = (byte) (fullMask & 0x000000FF); ipToBytes(ipPart, network, mustHave4); if (log.isDebugEnabled()) { log.debug("fullMask: " + fullMask); ipToBytes(parts[0], network, true); ipToBytes(parts[1], netmask, true); netmask[i] = -1; int partCount = ipToBytes(ipPart, network, mustHave4);