summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/l2tp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/l2tp.c b/plugins/l2tp.c
index 39c96181..dfb56d9d 100644
--- a/plugins/l2tp.c
+++ b/plugins/l2tp.c
@@ -218,7 +218,7 @@ static int l2tp_notify(DBusMessage *msg, struct connman_provider *provider)
return VPN_STATE_FAILURE;
}
- value = connman_provider_get_string(provider, "Host");
+ value = connman_provider_get_string(provider, "HostIP");
if (value != NULL) {
connman_provider_set_string(provider, "Gateway", value);
gateway = g_strdup(value);