mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 19:04:57 -05:00
691. [bug] Configuring per-view forwarders caused an assertion
failure. [RT #675]
This commit is contained in:
parent
ca9c0ba235
commit
7ed2d93fa4
2 changed files with 9 additions and 4 deletions
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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
**
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue