Skip to content
Snippets Groups Projects
Commit f071c8bf authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed default zone file name containing .. in suffix.

Like example.com..zone
parent 7669e375
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ static int conf_process(conf_t *conf)
// Default zone file
if (zone->file == NULL) {
zone->file = strcdup(zone->name, ".zone");
zone->file = strcdup(zone->name, "zone");
if (!zone->file) {
ret = KNOT_ENOMEM;
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment