]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4301. [bug] dnssec-settime -p [DP]sync was not working. [RT #41534]
authorMark Andrews <marka@isc.org>
Mon, 25 Jan 2016 13:09:03 +0000 (00:09 +1100)
committerMark Andrews <marka@isc.org>
Mon, 25 Jan 2016 13:09:03 +0000 (00:09 +1100)
CHANGES
bin/dnssec/dnssec-settime.c

diff --git a/CHANGES b/CHANGES
index 845853a5e19e6f95047ba40629e0502d1020754a..4c2be4eca5b8704765d5aeddef4a5a68710a48a4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+4301.  [bug]           dnssec-settime -p [DP]sync was not working. [RT #41534]
+
 4300.  [bug]           A flag could be set in the wrong field when setting
                        up nonrecursive queries; this could cause the
                        SERVFAIL cache to cache responses it shouldn't.
index 3a26550c4184a48b533468be9f2991912d9c978c..33328cd502c26ee420b863eb7509d9d888f93d8c 100644 (file)
@@ -218,8 +218,8 @@ main(int argc, char **argv) {
                                        printcreate = ISC_TRUE;
                                        break;
                                case 'P':
-                                       if (!strncmp(p, "sync", 3)) {
-                                               p += 3;
+                                       if (!strncmp(p, "sync", 4)) {
+                                               p += 4;
                                                printsyncadd = ISC_TRUE;
                                                break;
                                        }
@@ -235,8 +235,8 @@ main(int argc, char **argv) {
                                        printinact = ISC_TRUE;
                                        break;
                                case 'D':
-                                       if (!strncmp(p, "sync", 3)) {
-                                               p += 3;
+                                       if (!strncmp(p, "sync", 4)) {
+                                               p += 4;
                                                printsyncdel = ISC_TRUE;
                                                break;
                                        }