mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 07:08:05 +00:00
fix host network interface name error
This commit is contained in:
@@ -150,7 +150,7 @@ class wvmInterface(wvmConnect):
|
||||
mac = self.get_mac()
|
||||
itype = self.get_type()
|
||||
state = self.is_active()
|
||||
return {"name": self.iface, "type": itype, "state": state, "mac": mac}
|
||||
return {"name": self.iface.name(), "type": itype, "state": state, "mac": mac}
|
||||
|
||||
def stop_iface(self):
|
||||
self.iface.destroy()
|
||||
|
||||
Reference in New Issue
Block a user