提交 97f00c0e 编写于 作者: dengyihao's avatar dengyihao

fix(rpc): fix duplicat port error

上级 ce77983f
......@@ -692,12 +692,13 @@ int taosValidIp(uint32_t ip) {
if (ret != 0) {
break;
}
ifreq++;
}
ret = -1;
if (ip == (uint32_t)taosInetAddr(ip_str)) {
ret = 0;
break;
}
ifreq++;
}
}
taosCloseSocketNoCheck1(fd);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册