mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
691. [bug] Configuring per-view forwarders caused an assertion
failure. [RT #675]
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -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]
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
**
|
||||
*/
|
||||
|
Reference in New Issue
Block a user