projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324cd0b
)
pptp: Return authentication errors properly
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Tue, 15 Nov 2011 11:06:25 +0000
(13:06 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 15 Nov 2011 12:41:45 +0000
(13:41 +0100)
plugins/pptp.c
patch
|
blob
|
history
diff --git
a/plugins/pptp.c
b/plugins/pptp.c
index
6b2838c
..
814be99
100644
(file)
--- 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;