#include "numeric.h"
#include "send.h"
#include "match.h"
-#include "ipv4_from_ipv6.h"
#ifdef RB_IPV6
static unsigned long hash_ipv6(struct sockaddr *, int);
while(*p)
{
- h = (h << 4) - (h + (unsigned char) ToLower(*p++));
+ h = (h << 4) - (h + (unsigned char) irctolower(*p++));
}
return (h & (ATABLE_SIZE - 1));
#ifdef RB_IPV6
if(ip != NULL && ip->sa_family == AF_INET6 &&
- ipv4_from_ipv6((const struct sockaddr_in6 *)(const void *)ip, &ip4))
+ rb_ipv4_from_ipv6((const struct sockaddr_in6 *)(const void *)ip, &ip4))
{
kconf = find_conf_by_address(NULL, NULL, NULL, (struct sockaddr *)&ip4, CONF_KILL, AF_INET, vuser, NULL);
if(kconf)
return aconf;
#ifdef RB_IPV6
if(addr->sa_family == AF_INET6 &&
- ipv4_from_ipv6((const struct sockaddr_in6 *)(const void *)addr, &addr2))
+ rb_ipv4_from_ipv6((const struct sockaddr_in6 *)(const void *)addr, &addr2))
{
aconf = find_conf_by_address(NULL, NULL, NULL, (struct sockaddr *)&addr2, CONF_DLINE | 1, AF_INET, NULL, NULL);
if(aconf)