]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Thu, 12 Apr 2001 17:36:55 +0000 (17:36 +0000)
committerAndreas Gustafsson <source@isc.org>
Thu, 12 Apr 2001 17:36:55 +0000 (17:36 +0000)
 801.   [bug]           nsupdate should treat lines beginning with ';' as
                        comments. [RT #1139]

CHANGES
bin/nsupdate/nsupdate.c

diff --git a/CHANGES b/CHANGES
index 55e1f12d35f84c1d1ab901cbd621059ca4fbe16f..554be76e3ffa915360d992f911d235a051c92580 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,9 @@
  802.  [bug]           DNSSEC key tags were computed incorrectly in almost
                        all cases. [RT #1146]
 
+ 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 722a401086bd25d54ec04bae4fedc9612cd5026e..32bb9740c040aea44c780b4461d55edc8f064c74 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsupdate.c,v 1.75.2.4 2001/04/11 19:05:39 gson Exp $ */
+/* $Id: nsupdate.c,v 1.75.2.5 2001/04/12 17:36:55 gson Exp $ */
 
 #include <config.h>
 
@@ -1188,8 +1188,10 @@ get_next_command(void) {
 
        if (feof(input))
                return (STATUS_QUIT);
-       if (*word == 0)
+       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)