size_t ipv4_len = 0; if (is_ipv4_prefix(host, &ipv4_len)) { // Cloak the entire IPv4 prefix ircd_snprintf(0, result, HOSTLEN, "%s-%X", PREFIX, alpha); strncat(result, host + ipv4_len, HOSTLEN - strlen(result) - 1); return result; }