X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/d99380b61b3fa166d2105bc017508392dbb38939..c95fc52d5a41f590b797f482200168a8a6f30202:/src/reslib.c diff --git a/src/reslib.c b/src/reslib.c index 516cb65..25cabe4 100644 --- a/src/reslib.c +++ b/src/reslib.c @@ -86,18 +86,16 @@ #include "ircd.h" #include "res.h" #include "reslib.h" -#include "irc_string.h" +#include "match.h" #define NS_TYPE_ELT 0x40 /* EDNS0 extended label type */ #define DNS_LABELTYPE_BITSTRING 0x41 #define DNS_MAXLINE 128 -/* $Id: reslib.c 1695 2006-06-27 15:11:23Z jilles $ */ -/* from Hybrid Id: reslib.c 177 2005-10-22 09:05:05Z michael $ */ struct rb_sockaddr_storage irc_nsaddr_list[IRCD_MAXNS]; int irc_nscount = 0; -char irc_domain[HOSTLEN + 1]; +char irc_domain[IRCD_RES_HOSTLEN + 1]; static const char digitvalue[256] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /*16*/