diff options
author | David Härdeman <david@hardeman.nu> | 2020-07-12 21:39:21 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-07-12 21:39:21 +0200 |
commit | 5c91d6294929b86105f16b96de5596a93be3ea68 (patch) | |
tree | 0dde5bfc297714cebeafb987103d9b14063f7360 /shared | |
parent | bc0a809ddb4c2b84be2897c00a7a2fcd5a0cce87 (diff) |
Make sure listening to IPv4 and IPv6 at the same time works as intended
Diffstat (limited to 'shared')
-rw-r--r-- | shared/config-parser.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/config-parser.c b/shared/config-parser.c index 8b43ada..8cb6dcd 100644 --- a/shared/config-parser.c +++ b/shared/config-parser.c @@ -155,8 +155,11 @@ static void scfg_queue_dns(struct server_config *scfg, struct cfg_value *value, switch (value->type) { case CFG_VAL_TYPE_ADDRS: - debug(DBG_DNS, "got sync results"); + debug(DBG_DNS, "%s: got sync results", scfg->name); list_for_each_entry_safe(saddr, tmp, &value->saddrs, list) { + debug(DBG_DNS, "%s: sync res %s, any_ok %s", + scfg->name, saddr->addrstr, + any_ok ? "yes" : "no"); list_del(&saddr->list); if (!any_ok) saddr_any_to_loopback(saddr); |