#include "hostmask.h"
#include "numeric.h"
#include "send.h"
-#include "irc_string.h"
+#include "match.h"
#ifdef RB_IPV6
static unsigned long hash_ipv6(struct sockaddr *, int);
*b = 128;
} else
*b = 128;
- if(inetpton_sock(ip, (struct sockaddr *)addr) > 0)
+ if(rb_inet_pton_sock(ip, (struct sockaddr *)addr) > 0)
return HM_IPV6;
else
return HM_HOST;
*b = 32;
} else
*b = 32;
- if(inetpton_sock(ip, (struct sockaddr *)addr) > 0)
+ if(rb_inet_pton_sock(ip, (struct sockaddr *)addr) > 0)
return HM_IPV4;
else
return HM_HOST;