[libvirt] [PATCH] Fix a mismatch attribute name

Luyao Huang lhuang at redhat.com
Fri Nov 7 08:24:11 UTC 2014


>From libvirt.org we know this attribute named:

interface_mac	MAC address of the network interface, not unique

Signed-off-by: Luyao Huang <lhuang at redhat.com>
---
 src/access/viraccessdriverpolkit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/access/viraccessdriverpolkit.c b/src/access/viraccessdriverpolkit.c
index 3136be7..0e07053 100644
--- a/src/access/viraccessdriverpolkit.c
+++ b/src/access/viraccessdriverpolkit.c
@@ -206,7 +206,7 @@ virAccessDriverPolkitCheckInterface(virAccessManagerPtr manager,
     const char *attrs[] = {
         "connect_driver", driverName,
         "interface_name", iface->name,
-        "interface_macaddr", iface->mac,
+        "interface_mac", iface->mac,
         NULL,
     };
 
-- 
1.8.3.1




More information about the libvir-list mailing list