]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
801. [bug] nsupdate should treat lines beginning with ';' as
authorBrian Wellington <source@isc.org>
Fri, 30 Mar 2001 22:48:35 +0000 (22:48 +0000)
committerBrian Wellington <source@isc.org>
Fri, 30 Mar 2001 22:48:35 +0000 (22:48 +0000)
comments. [RT #1139]

CHANGES
bin/nsupdate/nsupdate.c

diff --git a/CHANGES b/CHANGES
index 0729a14727411099fe784c7c25ce4c7b416098db..b62f7db432c9030259eb3ce172cb22fe86f72504 100644 (file)
--- 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]
 
index ac1138b53d08748ed2f97d84d4ba6cf765a29333..581efa5e46bf3c41a6ce98c1922af3acb9439d77 100644 (file)
@@ -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 <config.h>
 
@@ -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)