From 733cb473431f5e366077c4f46835020e3b944b39 Mon Sep 17 00:00:00 2001 From: slguan Date: Thu, 16 Jan 2020 16:38:02 +0800 Subject: [PATCH] TBASE-1452 #1136 --- src/client/src/tscServer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 63c2b87426..00452d920e 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -67,6 +67,7 @@ void tscSetMgmtIpListFromCluster(SIpList *pIpList) { void tscSetMgmtIpListFromEdge() { if (tscMgmtIpList.numOfIps != 2) { + tscMgmtIpList.numOfIps = 2; strcpy(tscMgmtIpList.ipstr[0], tsMasterIp); tscMgmtIpList.ip[0] = inet_addr(tsMasterIp); strcpy(tscMgmtIpList.ipstr[1], tsMasterIp);