like both the global and per-zone counterparts now do
* SOFTWARE.
*/
-/* $Id: confview.c,v 1.38 2000/07/25 17:55:40 brister Exp $ */
+/* $Id: confview.c,v 1.39 2000/07/25 22:38:29 gson Exp $ */
#include <config.h>
{
REQUIRE(DNS_C_VIEW_VALID(view));
REQUIRE(ipl != NULL);
-
- *ipl = view->also_notify;
- return (*ipl == NULL ? ISC_R_NOTFOUND : ISC_R_SUCCESS);
+ if (view->also_notify == NULL)
+ return (ISC_R_NOTFOUND);
+
+ dns_c_iplist_attach(view->also_notify, ipl);
+ return (ISC_R_SUCCESS);
}