do not treat maintain-ixfr-base as equivalent to provide-ixfr,

since it's not documented that way
This commit is contained in:
Andreas Gustafsson 2000-09-13 23:00:16 +00:00
parent 8e732de92e
commit 3bd5170d0c

View file

@ -16,7 +16,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: confparser.y.dirty,v 1.14 2000/08/28 05:51:16 marka Exp $ */
/* $Id: confparser.y.dirty,v 1.15 2000/09/13 23:00:16 gson Exp $ */
#include <config.h>
@ -822,14 +822,10 @@ option: /* Empty */
}
| L_MAINTAIN_IXFR_BASE yea_or_nay
{
/*
* Backwards compatibility, treated as
* equivalent to provide-ixfr.
*/
tmpres = dns_c_ctx_setprovideixfr(currcfg, $2);
tmpres = dns_c_ctx_setmaintainixfrbase(currcfg, $2);
if (tmpres == ISC_R_EXISTS) {
parser_error(ISC_FALSE,
"cannot redefine provide-ixfr");
"cannot redefine maintain-ixfr-base");
YYABORT;
}
}