TBASE-1452 #1136
This commit is contained in:
parent
546a8cdf25
commit
733cb47343
|
@ -67,6 +67,7 @@ void tscSetMgmtIpListFromCluster(SIpList *pIpList) {
|
||||||
|
|
||||||
void tscSetMgmtIpListFromEdge() {
|
void tscSetMgmtIpListFromEdge() {
|
||||||
if (tscMgmtIpList.numOfIps != 2) {
|
if (tscMgmtIpList.numOfIps != 2) {
|
||||||
|
tscMgmtIpList.numOfIps = 2;
|
||||||
strcpy(tscMgmtIpList.ipstr[0], tsMasterIp);
|
strcpy(tscMgmtIpList.ipstr[0], tsMasterIp);
|
||||||
tscMgmtIpList.ip[0] = inet_addr(tsMasterIp);
|
tscMgmtIpList.ip[0] = inet_addr(tsMasterIp);
|
||||||
strcpy(tscMgmtIpList.ipstr[1], tsMasterIp);
|
strcpy(tscMgmtIpList.ipstr[1], tsMasterIp);
|
||||||
|
|
Loading…
Reference in New Issue