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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user