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:
13f0741
)
vpn-plugin: Set state correctly if vpn client process cannot be started
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Mon, 12 Nov 2012 12:07:51 +0000
(14:07 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 23 Nov 2012 10:58:52 +0000
(12:58 +0200)
vpn/plugins/vpn.c
patch
|
blob
|
history
diff --git
a/vpn/plugins/vpn.c
b/vpn/plugins/vpn.c
index
3b0fd3a
..
df030b0
100644
(file)
--- a/
vpn/plugins/vpn.c
+++ b/
vpn/plugins/vpn.c
@@
-159,6
+159,8
@@
vpn_exit:
ret = VPN_PROVIDER_ERROR_UNKNOWN;
vpn_provider_indicate_error(provider, ret);
+
+ vpn_provider_set_state(provider, VPN_PROVIDER_STATE_FAILURE);
} else
vpn_provider_set_state(provider, VPN_PROVIDER_STATE_IDLE);