Detect and error loops in --cname configuration.

This commit is contained in:
Simon Kelley
2017-01-19 17:22:00 +00:00
parent 0ef1334d78
commit 903df07bcb
3 changed files with 43 additions and 6 deletions

View File

@@ -310,9 +310,9 @@ struct ptr_record {
};
struct cname {
int ttl;
int ttl, flag;
char *alias, *target;
struct cname *next;
struct cname *next, *targetp;
};
struct ds_config {