summaryrefslogtreecommitdiff
path: root/plugins/pptp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pptp.c')
-rw-r--r--plugins/pptp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/pptp.c b/plugins/pptp.c
index 9db1b896..365bde7c 100644
--- a/plugins/pptp.c
+++ b/plugins/pptp.c
@@ -225,7 +225,9 @@ static void pptp_write_bool_option(struct connman_task *task,
const char *key, const char *value)
{
if (key != NULL && value != NULL) {
- if (strcmp(value, "yes") == 0)
+ if (strcasecmp(value, "yes") == 0 ||
+ strcasecmp(value, "true") == 0 ||
+ strcmp(value, "1") == 0)
connman_task_add_argument(task, key, NULL);
}
}