---
 vpn/vpn-provider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c
index f6753b9..c80027d 100644
--- a/vpn/vpn-provider.c
+++ b/vpn/vpn-provider.c
@@ -1929,7 +1929,7 @@ int vpn_provider_set_string(struct vpn_provider *provider,
 
        if (g_str_equal(key, "Type") == TRUE) {
                g_free(provider->type);
-               provider->type = g_strdup(value);
+               provider->type = g_ascii_strdown(value, -1);
        } else if (g_str_equal(key, "Name") == TRUE) {
                g_free(provider->name);
                provider->name = g_strdup(value);
-- 
1.7.11.4

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to