core/net/resolv: Fix for resolving CNAME records.
This commit is contained in:
parent
639a9ca399
commit
7e9f472faa
1 changed files with 3 additions and 2 deletions
|
@ -1013,13 +1013,14 @@ newdata(void)
|
|||
nanswers = 1;
|
||||
}
|
||||
|
||||
/* This is disabled for now, so that we don't fail on CNAME records.
|
||||
#if RESOLV_VERIFY_ANSWER_NAMES
|
||||
if(namemapptr &&
|
||||
!dns_name_isequal(queryptr, namemapptr->name, uip_appdata)) {
|
||||
if(namemapptr && !dns_name_isequal(queryptr, namemapptr->name, uip_appdata)) {
|
||||
DEBUG_PRINTF("resolver: Answer name doesn't match question...!\n");
|
||||
goto skip_to_next_answer;
|
||||
}
|
||||
#endif
|
||||
*/
|
||||
|
||||
DEBUG_PRINTF("resolver: Answer for \"%s\" is usable.\n",
|
||||
namemapptr->name);
|
||||
|
|
Loading…
Reference in a new issue