This commit is contained in:
slguan 2020-01-16 16:38:02 +08:00
parent 546a8cdf25
commit 733cb47343
1 changed files with 1 additions and 0 deletions

View File

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