mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 23:42:06 -04:00
2592. [bug] Treat "any" as a type in nsupdate. [RT #19455]
This commit is contained in:
parent
47323be2af
commit
3836f447ee
2 changed files with 5 additions and 2 deletions
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue