Commit de389382 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

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)
parent d5c1fec7
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment