2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

change CFG_ZONE_MASTER and CFG_ZONE_SLAVE

these values have been renamed as CFG_ZONE_PRIMARY and
CFG_ZONE_SECONDARY.
This commit is contained in:
Evan Hunt
2021-08-25 22:31:18 -07:00
parent 916760ae46
commit 679f1c0dad
4 changed files with 120 additions and 119 deletions

View File

@@ -109,10 +109,10 @@ main(int argc, char **argv) {
}
if (strcmp(argv[1], "master") == 0 ||
strcmp(argv[1], "primary") == 0) {
zonetype = CFG_ZONE_MASTER;
zonetype = CFG_ZONE_PRIMARY;
} else if (strcmp(argv[1], "slave") == 0 ||
strcmp(argv[1], "seconary") == 0) {
zonetype = CFG_ZONE_SLAVE;
zonetype = CFG_ZONE_SECONDARY;
} else if (strcmp(argv[1], "mirror") == 0) {
zonetype = CFG_ZONE_MIRROR;
} else if (strcmp(argv[1], "stub") == 0) {