Automatic merge from release/2.6.0 -> master

* commit '11fc2afc333dc1fea43f2ce27e0a1d2175843a14':
  fix network merge
This commit is contained in:
邱剑
2019-01-17 12:07:08 +08:00
+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"