Add ipv6 option

This commit is contained in:
Nick Peng
2018-09-04 00:12:48 +08:00
parent 92956e9bd3
commit eeb3f5fd75
7 changed files with 66 additions and 10 deletions

View File

@@ -198,8 +198,8 @@ int smartdns_init(void)
goto errout;
}
tlog_setlogscreen(1);
tlog_setlevel(TLOG_INFO);
/* tlog_setlogscreen(1); */
tlog_setlevel(dns_conf_log_level);
if (dns_conf_server_num <= 0) {
if (smartdns_load_from_resolv() != 0) {