Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 482997498f9f95c2819169698d08f0c7 > files > 72

bind-9.3.6-25.P1.el5_11.8.src.rpm

diff -up bind-9.3.6-P1/lib/dns/zone.c.rh733698 bind-9.3.6-P1/lib/dns/zone.c
--- bind-9.3.6-P1/lib/dns/zone.c.rh733698	2011-12-02 15:56:32.011261765 +0100
+++ bind-9.3.6-P1/lib/dns/zone.c	2011-12-02 15:56:59.402181200 +0100
@@ -2224,6 +2224,7 @@ dns_zone_setmasterswithkeys(dns_zone_t *
 	/*
 	 * Everything is ok so attach to the zone.
 	 */
+	zone->curmaster = 0;
 	zone->masters = new;
 	zone->mastersok = newok;
 	zone->masterkeynames = newname;