--- plugins/pptp.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/plugins/pptp.c b/plugins/pptp.c index 6b2838c..814be99 100644 --- a/plugins/pptp.c +++ b/plugins/pptp.c @@ -120,6 +120,9 @@ static int pptp_notify(DBusMessage *msg, struct connman_provider *provider) return VPN_STATE_FAILURE; } + if (strcmp(reason, "auth failed") == 0) + return VPN_STATE_AUTH_FAILURE; + if (strcmp(reason, "connect")) return VPN_STATE_DISCONNECT; -- 1.7.1 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman