Fix redundant router switch back to single router

The existed redundant router network didn't change.
This commit is contained in:
Sheng Yang 2011-08-11 12:41:17 -07:00
parent 17f12b99fe
commit 0f0d705ae0
1 changed files with 2 additions and 1 deletions

View File

@ -875,7 +875,8 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
}
}
if (routers.size() == routerCount) {
/* If old network is redundant but new is single router, then routers.size() = 2 but routerCount = 1 */
if (routers.size() >= routerCount) {
return routers;
}