提交 78c617a9 编写于 作者: dengyihao's avatar dengyihao

enh(rpc): validate fqdn

上级 f2eca15f
......@@ -111,10 +111,6 @@ void shellNettestHandler(int32_t signum, void *sigInfo, void *context) { shellEx
static void shellWorkAsServer() {
SShellArgs *pArgs = &shell.args;
// char fqdn[TSDB_FQDN_LEN] = {0};
/// tstrncpy(fqdn, pArgs->host, TSDB_FQDN_LEN);
// strtok(fqdn, ":");
if (pArgs->port == 0) {
pArgs->port = tsServerPort;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册