mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-03 13:47:18 +03:00
addhardware: Fix invoking netlist validate()
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
183fa0c8df
commit
5733d8941c
@ -1409,7 +1409,7 @@ class vmmAddHardware(vmmGObjectUI):
|
||||
if self.addstorage.validate_device(dev) is False:
|
||||
return False
|
||||
|
||||
if dev.DEVICE_TYPE == "network":
|
||||
if dev.DEVICE_TYPE == "interface":
|
||||
self._netlist.validate_device(dev)
|
||||
|
||||
if dev.DEVICE_TYPE == "hostdev":
|
||||
|
Loading…
x
Reference in New Issue
Block a user