summaryrefslogtreecommitdiff
path: root/plugins/vpn.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/vpn.c')
-rw-r--r--plugins/vpn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index e028b63a..efeb9592 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -193,6 +193,11 @@ static void vpn_notify(struct connman_task *task,
connman_provider_set_state(provider,
CONNMAN_PROVIDER_STATE_DISCONNECT);
break;
+
+ case VPN_STATE_AUTH_FAILURE:
+ connman_provider_indicate_error(provider,
+ CONNMAN_PROVIDER_ERROR_AUTH_FAILED);
+ break;
}
}