diff --git a/CHANGES b/CHANGES index 0729a14727..b62f7db432 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ + 801. [bug] nsupdate should treat lines beginning with ';' as + comments. [RT #1139] + 800. [bug] dnssec-signzone produced incorrect statistics for large zones. [RT #1133] diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index ac1138b53d..581efa5e46 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nsupdate.c,v 1.87 2001/03/30 00:38:27 bwelling Exp $ */ +/* $Id: nsupdate.c,v 1.88 2001/03/30 22:48:35 bwelling Exp $ */ #include @@ -1257,6 +1257,8 @@ get_next_command(void) { return (STATUS_QUIT); if (*word == 0) return (STATUS_SEND); + if (word[0] == ';') + return (STATUS_MORE); if (strcasecmp(word, "quit") == 0) return (STATUS_QUIT); if (strcasecmp(word, "prereq") == 0)