From 483e5c9a685bf67d5f9647ac737c5435f17c4bd3 Mon Sep 17 00:00:00 2001 From: catborise Date: Tue, 30 Mar 2021 15:43:58 +0300 Subject: [PATCH] fix host network interface name error --- vrtManager/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrtManager/interface.py b/vrtManager/interface.py index d422623..14ddebc 100644 --- a/vrtManager/interface.py +++ b/vrtManager/interface.py @@ -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()