+ 443. [bug] When loading a master file failed because of an
+ unrecognized RR type name, the error message
+ did not include the file name and line number.
+ [RT #285]
+
442. [bug] TSIG signed messages that did not match any view
crashed the server. [RT #290]
* SOFTWARE.
*/
-/* $Id: master.c,v 1.54.2.4 2000/08/02 21:22:27 gson Exp $ */
+/* $Id: master.c,v 1.54.2.5 2000/09/12 19:19:25 explorer Exp $ */
#include <config.h>
result = dns_rdatatype_fromtext(&type,
&token.value.as_textregion);
- if (result != ISC_R_SUCCESS)
+ if (result != ISC_R_SUCCESS) {
+ (*callbacks->warn)(callbacks,
+ "%s: %s:%lu: unknown RR type '%.*s'",
+ "dns_master_load",
+ isc_lex_getsourcename(ctx->lex),
+ isc_lex_getsourceline(ctx->lex),
+ token.value.as_textregion.length,
+ token.value.as_textregion.base);
goto cleanup;
+ }
/*
* If the class specified does not match the zone's class