[network-manager-fortisslvpn] service: don't turn the ipv4 config variant into a tuple



commit ba626cc7a8962028588d3d4e0285680dd0430384
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Sun Mar 20 11:20:14 2016 +0100

    service: don't turn the ipv4 config variant into a tuple
    
    nmdbus_fortisslvpn_ppp_call_set_ip4_config expects a{sv}:
    
      (process:19307): GLib-ERROR **: g_variant_new: expected GVariant of type 'a{sv}' but received value has 
type '(a{sv})'

 src/nm-fortisslvpn-pppd-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-fortisslvpn-pppd-plugin.c b/src/nm-fortisslvpn-pppd-plugin.c
index 204a9dc..0fe6384 100644
--- a/src/nm-fortisslvpn-pppd-plugin.c
+++ b/src/nm-fortisslvpn-pppd-plugin.c
@@ -275,7 +275,7 @@ nm_ip_up (void *data, int arg)
        g_message ("nm-fortisslvpn-ppp-plugin: (%s): sending Ip4Config to NetworkManager-fortisslvpn...", 
__func__);
 
        nmdbus_fortisslvpn_ppp_call_set_ip4_config (proxy,
-                                                   g_variant_new ("(a{sv})", &builder),
+                                                   g_variant_builder_end (&builder),
                                                    NULL,
                                                    NULL, NULL);
 }


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