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

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



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


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