diff --git a/CHANGES b/CHANGES index 56755ccf79..24a99eb405 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,4 @@ + 694. [bug] $GENERATE did not produce the last entry. [RT#683] 693. [bug] An empty lwres statement in named.conf caused the server to crash while loading. diff --git a/lib/dns/master.c b/lib/dns/master.c index cef2fc737c..749ed651f7 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: master.c,v 1.99 2001/01/18 08:53:34 marka Exp $ */ +/* $Id: master.c,v 1.100 2001/01/19 20:45:33 marka Exp $ */ #include @@ -657,7 +657,7 @@ generate(dns_loadctx_t *ctx, char *range, char *lhs, char *gtype, char *rhs) { ISC_LIST_INIT(rdatalist.rdata); ISC_LINK_INIT(&rdatalist, link); - for (i = start; i < stop; i += step) { + for (i = start; i <= stop; i += step) { result = genname(lhs, i, lhsbuf, DNS_MASTER_BUFSZ); if (result != ISC_R_SUCCESS) goto error_cleanup;