Update code

This commit is contained in:
Nick Peng
2018-06-08 21:57:33 +08:00
parent 4ee70e3eac
commit 4a6b0baddd
5 changed files with 595 additions and 537 deletions

View File

@@ -116,7 +116,7 @@ int smartdns_init()
}
tlog_setlogscreen(1);
tlog_setlevel(TLOG_DEBUG);
tlog_setlevel(TLOG_INFO);
if (dns_conf_server_num <= 0) {
if (smartdns_load_from_resolv() != 0) {