summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-02-18 15:23:39 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-19 10:23:21 (GMT)
commit3455b5d74345dbf16800501ba6437c08fdbdb7ca (patch)
treef96c467dbe546d79a6037e40652d14cf68ace034 /vpn
parent2eec48e8c7d3f86bfb4a1a8a6e659cb1c2ba2f10 (diff)
downloadconnman-3455b5d74345dbf16800501ba6437c08fdbdb7ca.zip
connman-3455b5d74345dbf16800501ba6437c08fdbdb7ca.tar.gz
connman-3455b5d74345dbf16800501ba6437c08fdbdb7ca.tar.bz2
vpn-provider: Type string in provider needs to be in lower case
Diffstat (limited to 'vpn')
-rw-r--r--vpn/vpn-provider.c2
1 files changed, 1 insertions, 1 deletions
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);