mirror of
https://github.com/retspen/webvirtcloud
synced 2024-10-31 19:44:16 +00:00
fix host network interface name error
This commit is contained in:
parent
a5c1d8c308
commit
483e5c9a68
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class wvmInterface(wvmConnect):
|
||||||
mac = self.get_mac()
|
mac = self.get_mac()
|
||||||
itype = self.get_type()
|
itype = self.get_type()
|
||||||
state = self.is_active()
|
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):
|
def stop_iface(self):
|
||||||
self.iface.destroy()
|
self.iface.destroy()
|
||||||
|
|
Loading…
Reference in a new issue