virt-manager/65f7017e-createnet-fix.patch
Charles Arnold f1f73ff14a - bnc#909348 - Can't create virtual NAT network - interface name
`net_wlp16s0_00_1f_3b_59_61_3d' must be shorter than IFNAMSIZ
  65f7017e-createnet-fix.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=217
2015-01-16 21:58:53 +00:00

20 lines
754 B
Diff

Subject: createnet: Fix creating network with forward device
From: Charles Arnold carnold@suse.com Fri Jan 16 13:29:09 2015 -0500
Date: Fri Jan 16 13:30:36 2015 -0500:
Git: 65f7017eaf775af4c817b16d525256cd25aef160
diff --git a/virtManager/createnet.py b/virtManager/createnet.py
index 6c0634c..18cadf1 100644
--- a/virtManager/createnet.py
+++ b/virtManager/createnet.py
@@ -174,7 +174,7 @@ class vmmCreateNetwork(vmmGObjectUI):
devnames = []
for nodedev in self.conn.get_nodedevs("net"):
- devnames.append(nodedev.name)
+ devnames.append(nodedev.interface)
for iface in self.conn.list_interfaces():
if iface.get_name() not in devnames:
devnames.append(iface.get_name())