[network-manager-libreswan] plugin: avoid calling GetAll on service object



commit f424022b6c6d7f1912bbe7f994184124e894bd25
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Mar 21 13:38:16 2016 +0100

    plugin: avoid calling GetAll on service object
    
    The D-Bus policy won't allow that and we don't need that anyway.

 src/nm-libreswan-service-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-libreswan-service-helper.c b/src/nm-libreswan-service-helper.c
index 54315e1..0f7679d 100644
--- a/src/nm-libreswan-service-helper.c
+++ b/src/nm-libreswan-service-helper.c
@@ -62,7 +62,7 @@ main (int argc, char *argv[])
 #endif
 
        proxy = nmdbus_libreswan_helper_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
-                                                               G_DBUS_PROXY_FLAGS_NONE,
+                                                               G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
                                                                bus_name,
                                                                NM_DBUS_PATH_LIBRESWAN_HELPER,
                                                                NULL, &err);


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