[network-manager-fortisslvpn/nm-1-0] service: fix up bad backport



commit e2bbb113a5f2255e3f1e5505f7b6bbfe77d73b7c
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Sep 28 12:32:45 2015 +0200

    service: fix up bad backport

 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 fd17059..c08ab46 100644
--- a/src/nm-fortisslvpn-pppd-plugin.c
+++ b/src/nm-fortisslvpn-pppd-plugin.c
@@ -256,7 +256,7 @@ nm_ip_up (void *data, int arg)
        str = g_getenv ("VPN_GATEWAY");
        if (str) {
                g_hash_table_insert (hash, NM_VPN_PLUGIN_IP4_CONFIG_EXT_GATEWAY,
-                                          g_variant_new_uint32 (inet_addr (str)));
+                                          uint_to_gvalue (inet_addr (str)));
        } else {
                g_warning ("nm-fortisslvpn-ppp-plugin: (%s): no external gateway!", __func__);
        }


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