Skip to content

Commit

Permalink
F #911: Fix bug with PCI NIC devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Huertas Herrero authored and Ruben S. Montero committed Jan 8, 2019
1 parent 5187740 commit 9398259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/VirtualMachineNic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ int VirtualMachineNics::get_network_leases(int vm_id, int uid,

one_util::toupper(net_mode);

if (vnic->name() == "NIC")
if (vnic->name() == "NIC" || vnic->name() == "PCI")
{
VirtualMachineNic * nic = new VirtualMachineNic(vnic, nic_id);

Expand Down

0 comments on commit 9398259

Please sign in to comment.