2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

691. [bug] Configuring per-view forwarders caused an assertion

failure. [RT #675]
This commit is contained in:
Andreas Gustafsson
2001-01-18 19:01:39 +00:00
parent ca9c0ba235
commit 7ed2d93fa4
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
691. [bug] Configuring per-view forwarders caused an assertion
failure. [RT #675]
690. [func] $GENERATE now supports DNAME. [RT #654]
689. [doc] man pages are now installed. [RT #210]

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: confview.c,v 1.68 2001/01/09 21:52:08 bwelling Exp $ */
/* $Id: confview.c,v 1.69 2001/01/18 19:01:39 gson Exp $ */
#include <config.h>
@@ -1188,13 +1188,14 @@ dns_c_view_getforwarders(dns_c_view_t *view,
REQUIRE(DNS_C_VIEW_VALID(view));
REQUIRE(ipl != NULL);
*ipl = view->forwarders;
if (view->forwarders == NULL)
return (ISC_R_NOTFOUND);
return (*ipl == NULL ? ISC_R_NOTFOUND : ISC_R_SUCCESS);
dns_c_iplist_attach(view->forwarders, ipl);
return (ISC_R_SUCCESS);
}
/*
**
*/