mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
2592. [bug] Treat "any" as a type in nsupdate. [RT #19455]
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
||||
2592. [bug] Treat "any" as a type in nsupdate. [RT #19455]
|
||||
|
||||
2591. [bug] named could die when processing a update in
|
||||
removed_orphaned_ds(). [RT #19507]
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsupdate.c,v 1.165 2009/01/17 23:47:42 tbox Exp $ */
|
||||
/* $Id: nsupdate.c,v 1.166 2009/04/30 07:10:09 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -1541,8 +1541,9 @@ update_addordelete(char *cmdline, isc_boolean_t isdelete) {
|
||||
}
|
||||
region.base = word;
|
||||
region.length = strlen(word);
|
||||
rdataclass = dns_rdataclass_any;
|
||||
result = dns_rdataclass_fromtext(&rdataclass, ®ion);
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
if (result == ISC_R_SUCCESS && rdataclass != dns_rdataclass_any) {
|
||||
if (!setzoneclass(rdataclass)) {
|
||||
fprintf(stderr, "class mismatch: %s\n", word);
|
||||
goto failure;
|
||||
|
Reference in New Issue
Block a user