mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-08 00:10:27 -05:00
806. [bug] DNS_R_SEENINCLUDE was failing to propogate back up
the calling stack to the zone maintence level.
This commit is contained in:
parent
abd51a9a96
commit
86529bb697
3 changed files with 8 additions and 4 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
806. [bug] DNS_R_SEENINCLUDE was failing to propogate back up
|
||||
the calling stack to the zone maintence level.
|
||||
|
||||
805. [bug] When using "forward only", missing root hints should
|
||||
not cause queries to fail. [RT #1143]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: db.c,v 1.67 2001/01/09 21:50:43 bwelling Exp $ */
|
||||
/* $Id: db.c,v 1.68 2001/04/10 03:05:55 marka Exp $ */
|
||||
|
||||
/***
|
||||
*** Imports
|
||||
|
|
@ -328,7 +328,8 @@ dns_db_load(dns_db_t *db, const char *filename) {
|
|||
* result if dns_master_loadfile() succeeded. If dns_master_loadfile()
|
||||
* failed, we want to return the result code it gave us.
|
||||
*/
|
||||
if (result == ISC_R_SUCCESS || result == DNS_R_SEENINCLUDE)
|
||||
if (eresult != ISC_R_SUCCESS &&
|
||||
(result == ISC_R_SUCCESS || result == DNS_R_SEENINCLUDE))
|
||||
result = eresult;
|
||||
|
||||
return (result);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.316 2001/03/28 23:36:53 bwelling Exp $ */
|
||||
/* $Id: zone.c,v 1.317 2001/04/10 03:05:54 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -4732,7 +4732,8 @@ zone_loaddone(void *arg, isc_result_t result) {
|
|||
ENTER;
|
||||
|
||||
tresult = dns_db_endload(load->db, &load->callbacks.add_private);
|
||||
if (result == ISC_R_SUCCESS || result == DNS_R_SEENINCLUDE)
|
||||
if (tresult != ISC_R_SUCCESS &&
|
||||
(result == ISC_R_SUCCESS || result == DNS_R_SEENINCLUDE))
|
||||
result = tresult;
|
||||
|
||||
LOCK_ZONE(load->zone);
|
||||
|
|
|
|||
Loading…
Reference in a new issue