mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +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
|
2591. [bug] named could die when processing a update in
|
||||||
removed_orphaned_ds(). [RT #19507]
|
removed_orphaned_ds(). [RT #19507]
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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 */
|
/*! \file */
|
||||||
|
|
||||||
@@ -1541,8 +1541,9 @@ update_addordelete(char *cmdline, isc_boolean_t isdelete) {
|
|||||||
}
|
}
|
||||||
region.base = word;
|
region.base = word;
|
||||||
region.length = strlen(word);
|
region.length = strlen(word);
|
||||||
|
rdataclass = dns_rdataclass_any;
|
||||||
result = dns_rdataclass_fromtext(&rdataclass, ®ion);
|
result = dns_rdataclass_fromtext(&rdataclass, ®ion);
|
||||||
if (result == ISC_R_SUCCESS) {
|
if (result == ISC_R_SUCCESS && rdataclass != dns_rdataclass_any) {
|
||||||
if (!setzoneclass(rdataclass)) {
|
if (!setzoneclass(rdataclass)) {
|
||||||
fprintf(stderr, "class mismatch: %s\n", word);
|
fprintf(stderr, "class mismatch: %s\n", word);
|
||||||
goto failure;
|
goto failure;
|
||||||
|
Reference in New Issue
Block a user