2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

The text describing errors in the specified TTL had an off by one error.

This commit is contained in:
Brian Wellington 2000-12-07 18:12:07 +00:00
parent a009a2da12
commit ad03e9f0bb

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nsupdate.c,v 1.70 2000/12/01 21:37:33 gson Exp $ */
/* $Id: nsupdate.c,v 1.71 2000/12/07 18:12:07 bwelling Exp $ */
#include <config.h>
@ -969,7 +969,7 @@ update_addordelete(char *cmdline, isc_boolean_t isdelete) {
* which will be equal to TTL_MAX.
*/
fprintf(stderr, "ttl '%s' is out of range "
"(1 to %d)\n", word, TTL_MAX);
"(0 to %d)\n", word, TTL_MAX);
goto failure;
}
} else