From: Andreas Gustafsson Date: Sat, 23 Sep 2000 00:24:29 +0000 (+0000) Subject: call to dns_fixedname_init() was missing from previous pullup, causing X-Git-Tag: v9.0.0^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d89e19fd80ccb063aae303450a46fabe576b751a;p=thirdparty%2Fbind9.git call to dns_fixedname_init() was missing from previous pullup, causing lwresd to catch an assertion failure --- diff --git a/lib/dns/byaddr.c b/lib/dns/byaddr.c index 1e8a8024d9b..7c9ea852343 100644 --- a/lib/dns/byaddr.c +++ b/lib/dns/byaddr.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: byaddr.c,v 1.16.2.1 2000/09/21 22:07:21 gson Exp $ */ +/* $Id: byaddr.c,v 1.16.2.2 2000/09/23 00:24:29 gson Exp $ */ #include @@ -411,6 +411,8 @@ dns_byaddr_create(isc_mem_t *mctx, isc_netaddr_t *address, dns_view_t *view, if (result != ISC_R_SUCCESS) goto cleanup_event; + dns_fixedname_init(&byaddr->name); + result = dns_byaddr_createptrname(address, ISC_TF(byaddr->options & DNS_BYADDROPT_IPV6NIBBLE), dns_fixedname_name(&byaddr->name));