[PATCH 2/5] interface: fix netcf based backend naming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All other backends for virInterface or other HVs implementations of
virInterface list their own names for the name instead of the generic
'Interface' value. This does the same for the netcf based backend.
---
 src/interface/interface_backend_netcf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/interface/interface_backend_netcf.c b/src/interface/interface_backend_netcf.c
index fdc28ea..b857ac7 100644
--- a/src/interface/interface_backend_netcf.c
+++ b/src/interface/interface_backend_netcf.c
@@ -782,7 +782,7 @@ static int interfaceChangeRollback(virConnectPtr conn, unsigned int flags)
 #endif /* HAVE_NETCF_TRANSACTIONS */
 
 static virInterfaceDriver interfaceDriver = {
-    "Interface",
+    "netcf",
     .open = interfaceOpenInterface, /* 0.7.0 */
     .close = interfaceCloseInterface, /* 0.7.0 */
     .numOfInterfaces = interfaceNumOfInterfaces, /* 0.7.0 */
-- 
1.7.8.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]