Commit f8432e3f authored by Mark Andrews's avatar Mark Andrews

4301. [bug] dnssec-settime -p [DP]sync was not working. [RT #41534]

parent 1fe6b74b
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.
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment