Merge pull request #324 from mas90/patch-1
Skip any unhandled DNS record type
This commit is contained in:
commit
458b5d1f89
1 changed files with 2 additions and 6 deletions
|
@ -702,13 +702,9 @@ static int proc_answer(struct reslist *request, HEADER * header, char *buf, char
|
|||
rb_strlcpy(request->name, hostbuf, IRCD_RES_HOSTLEN + 1);
|
||||
|
||||
return (1);
|
||||
case T_CNAME:
|
||||
/* real answer will follow */
|
||||
current += rd_length;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
/* skip any other record type e.g. CNAME, DNAME; real answer should follow */
|
||||
current += rd_length;
|
||||
}
|
||||
|
||||
return (1);
|
||||
|
|
Loading…
Reference in a new issue