bug 7284: bug in copy constructor cause dhcp server in direct tagged vlan to think it is a virtual router

status 7284: resolved fixed
This commit is contained in:
Chiradeep Vittal 2010-11-22 22:02:56 -08:00
parent 10fb2a0f39
commit 09472f1b65
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public class DomainRouterVO extends VMInstanceVO implements VirtualRouter {
public DomainRouterVO(DomainRouterVO that) {
this(that.id, that.serviceOfferingId, that.instanceName, that.privateMacAddress, that.privateIpAddress, that.privateNetmask, that.templateId, that.guestOSId, that.guestMacAddress, that.guestIpAddress, that.guestNetmask, that.accountId, that.domainId, that.publicMacAddress, that.publicIpAddress, that.publicNetmask, that.vlanDbId, that.vlanId, that.podId, that.dataCenterId, that.ramSize, that.gateway, that.domain, that.dns1, that.dns2);
this.vnet = that.vnet;
this.role = that.role;
}
public DomainRouterVO(long id,