enh(rpc): validate fqdn

This commit is contained in:
yihaoDeng 2022-05-06 14:30:07 +08:00
parent f2eca15fe2
commit 78c617a9f1
1 changed files with 0 additions and 4 deletions

View File

@ -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;
}