Bugfix: restore configuration after disable

This commit is contained in:
Nick Peng
2019-01-04 20:25:18 +08:00
parent 5224febbe9
commit 104418108a
2 changed files with 20 additions and 9 deletions

View File

@@ -240,7 +240,7 @@ void _dns_client_server_update_ttl(struct ping_host_struct *ping_host, const cha
}
double rtt = tv->tv_sec * 1000.0 + tv->tv_usec / 1000.0;
tlog(TLOG_INFO, "from %15s: seq=%d ttl=%d time=%.3f\n", host, seqno, ttl, rtt);
tlog(TLOG_DEBUG, "from %15s: seq=%d ttl=%d time=%.3f\n", host, seqno, ttl, rtt);
server_info->ttl = ttl;
}