[virt-tools-list] [virt-manager PATCH] createnet: fix typo introduced by commit dae8642bb

Pavel Hrdina phrdina at redhat.com
Tue Jan 15 14:57:10 UTC 2019


Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---

Pushed under trivial rule.

 virtManager/createnet.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtManager/createnet.py b/virtManager/createnet.py
index ae1f063e..a1cee43e 100644
--- a/virtManager/createnet.py
+++ b/virtManager/createnet.py
@@ -740,7 +740,7 @@ class vmmCreateNetwork(vmmGObjectUI):
 
         if net.forward.mode == "hostdev":
             net.forward.managed = "yes"
-            pfobj = net.forward.pfs.add_new()
+            pfobj = net.forward.pf.add_new()
             pfobj.dev = net.forward.dev
             net.forward.dev = None
             net.domain_name = None
-- 
2.20.1




More information about the virt-tools-list mailing list