+1182. [bug] The server could throw an assertion failure when
+ constructing a negative response packet.
+
1162. [bug] The allow-notify option was not accepted in slave
zone statements.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: ncache.c,v 1.24 2001/01/09 21:51:08 bwelling Exp $ */
+/* $Id: ncache.c,v 1.24.2.1 2002/01/21 22:27:03 marka Exp $ */
#include <config.h>
{
dns_rdata_t rdata = DNS_RDATA_INIT;
isc_result_t result;
- isc_region_t remaining, tremaining;
+ isc_region_t remaining, tavailable;
isc_buffer_t source, savedbuffer, rdlen;
dns_name_t name;
dns_rdatatype_t type;
* See if we have space for type, class, ttl, and
* rdata length. Write the type, class, and ttl.
*/
- isc_buffer_remainingregion(target, &tremaining);
- if (tremaining.length < 10) {
+ isc_buffer_availableregion(target, &tavailable);
+ if (tavailable.length < 10) {
result = ISC_R_NOSPACE;
goto rollback;
}