修复计算ip region数量时destIpAddress写成srcIpAddress
This commit is contained in:
@@ -662,7 +662,7 @@ public class ConfigConvertUtil {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
regionIdList.clear();
|
||||
} else if (cfgType == 2 || cfgType == 3) {
|
||||
//List<Integer> groupIdList = ConfigServiceUtil.getId(2, srcList.size());
|
||||
//List<Integer> regionIdList = ConfigServiceUtil.getId(3, srcList.size());
|
||||
@@ -961,7 +961,7 @@ public class ConfigConvertUtil {
|
||||
left=endPos-startPos+1;
|
||||
}
|
||||
if(destIpAddressValue.indexOf("-")>-1){
|
||||
String[] destIpAddressValueArray=srcIpAddressValue.split("-");
|
||||
String[] destIpAddressValueArray=destIpAddressValue.split("-");
|
||||
int startPos=0,endPos=0;
|
||||
startPos=Integer.parseInt(destIpAddressValueArray[0].split("\\.")[3]);
|
||||
endPos=Integer.parseInt(destIpAddressValueArray[1].split("\\.")[3]);
|
||||
|
||||
Reference in New Issue
Block a user