Skip to content

Commit b171149

Browse files
committed
kvm: plug nic on private network if vlan is untagged
1 parent 963a67b commit b171149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public LibvirtVMDef.InterfaceDef plug(NicTO nic, String guestOsType, String nicA
240240
if (trafficLabel != null && !trafficLabel.isEmpty()) {
241241
brname = trafficLabel;
242242
} else {
243-
brname = _bridges.get("guest");
243+
brname = _bridges.get("private");
244244
}
245245
intf.defBridgeNet(brname, null, nic.getMac(), getGuestNicModel(guestOsType, nicAdapter), networkRateKBps);
246246
}

0 commit comments

Comments
 (0)