未验证 提交 903f4f91 编写于 作者: dengyihao's avatar dengyihao 提交者: GitHub

Merge pull request #12266 from taosdata/fix/invaldFqdn

fix(rpc): avoid invalid fqdn
......@@ -746,7 +746,8 @@ bool taosValidIpAndPort(uint32_t ip, uint16_t port) {
return false;
}
taosCloseSocket(&pSocket);
return 0 == taosValidIp(ip) ? true : false;
return true;
// return 0 == taosValidIp(ip) ? true : false;
}
TdSocketServerPtr taosOpenTcpServerSocket(uint32_t ip, uint16_t port) {
struct sockaddr_in serverAdd;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册