Fix createSetupGuestNetworkCommand() method in order to pass the value of the getIsRedundantRouter() method instead of false.

This commit is contained in:
wilderrodrigues 2014-12-17 16:42:54 +01:00
parent 370fe518f2
commit 64ab2bf8da
1 changed files with 1 additions and 1 deletions

View File

@ -909,7 +909,7 @@ public class CommandSetupHelper {
final NicProfile nicProfile = _networkModel.getNicProfile(router, nic.getNetworkId(), null);
final SetupGuestNetworkCommand setupCmd = new SetupGuestNetworkCommand(dhcpRange, networkDomain, false, null, defaultDns1, defaultDns2, add, _itMgr.toNicTO(nicProfile,
final SetupGuestNetworkCommand setupCmd = new SetupGuestNetworkCommand(dhcpRange, networkDomain, router.getIsRedundantRouter(), null, defaultDns1, defaultDns2, add, _itMgr.toNicTO(nicProfile,
router.getHypervisorType()));
final String brd = NetUtils.long2Ip(NetUtils.ip2Long(guestNic.getIp4Address()) | ~NetUtils.ip2Long(guestNic.getNetmask()));