If server does not return expected TXT in qname-min, return UNKNOWN not WARNING.

This commit is contained in:
Jim Hague 2018-01-18 17:17:16 +00:00
parent ea035fa82e
commit 1a3025a405
1 changed files with 1 additions and 1 deletions

View File

@ -887,7 +887,7 @@ static exit_value test_qname_minimisation(const struct test_info_s *test_info,
if ((ret = getdns_dict_get_bindata(answer, "/rdata/txt_strings/0", &rtxt)) != GETDNS_RETURN_GOOD) { if ((ret = getdns_dict_get_bindata(answer, "/rdata/txt_strings/0", &rtxt)) != GETDNS_RETURN_GOOD) {
fputs("No answer text", test_info->errout); fputs("No answer text", test_info->errout);
return EXIT_WARNING; return EXIT_UNKNOWN;
} }
if (rtxt->size > 0 ) { if (rtxt->size > 0 ) {