提交 d98ab828 编写于 作者: M maosiping

DNS

Signed-off-by: Nmaosiping <maosiping@huawei.com>
上级 5f476c63
......@@ -40,12 +40,10 @@ int __get_resolv_conf(struct resolvconf *conf, char *search, size_t search_sz)
dlclose(handle);
if (ret < 0) {
DNS_CONFIG_PRINT("__get_resolv_conf OHOS_GET_CONFIG_FUNC_NAME err %d\n", ret);
goto etc_resolv_conf;
return -1;
}
int32_t timeout_second = config.timeout_ms / 1000;
#endif
#if OHOS_DNS_PROXY_BY_NETSYS
netsys_conf:
if (timeout_second > 0) {
if (timeout_second >= 60) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册