fix network merge

This commit is contained in:
wanyaoqi
2019-01-17 11:51:29 +08:00
parent 1d5ade88f6
commit 9201d7fb99
+1 -1
View File
@@ -1529,7 +1529,7 @@ func (self *SNetwork) PerformMerge(ctx context.Context, userCred mcclient.TokenC
if ipNE.StepUp() == ipSS {
startIp, endIp = net.GuestIpStart, self.GuestIpEnd
} else if ipSE == ipNS {
} else if ipSE.StepUp() == ipNS {
startIp, endIp = self.GuestIpStart, net.GuestIpEnd
} else {
note := "Incontinuity Network for %s and %s"