mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 00:02:04 -04:00
when doing the automatic SOA serial update following a dynamic
update, delete the old SOA then add the updated one instead of the other way around (otherwise the new database singleton type rules will cause the add to fail)
This commit is contained in:
parent
d5c1fec74c
commit
de389382be
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: update.c,v 1.73 2000/11/15 19:04:41 gson Exp $ */
|
||||
/* $Id: update.c,v 1.74 2000/11/22 02:49:57 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1073,8 +1073,8 @@ increment_soa_serial(dns_db_t *db, dns_dbversion_t *ver,
|
|||
serial = 1;
|
||||
|
||||
dns_soa_setserial(serial, &addtuple->rdata);
|
||||
CHECK(do_one_tuple(&addtuple, db, ver, diff));
|
||||
CHECK(do_one_tuple(&deltuple, db, ver, diff));
|
||||
CHECK(do_one_tuple(&addtuple, db, ver, diff));
|
||||
result = ISC_R_SUCCESS;
|
||||
|
||||
failure:
|
||||
|
|
|
|||
Loading…
Reference in a new issue