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 88a1c69413
commit f28291cedb
1 changed files with 2 additions and 1 deletions

View File

@ -876,7 +876,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;
}