projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5a6920
)
service: Set the user connect status correctly for VPN
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Wed, 24 Aug 2011 14:01:58 +0000
(17:01 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 12 Sep 2011 09:40:46 +0000
(11:40 +0200)
If the userconnect is not set, then informatation about authentication
errors cannot be reported by agent API.
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
ed38413
..
dfefe99
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-5560,6
+5560,7
@@
__connman_service_create_from_provider(struct connman_provider *provider)
service->type = CONNMAN_SERVICE_TYPE_VPN;
service->provider = connman_provider_ref(provider);
service->autoconnect = FALSE;
+ service->userconnect = TRUE;
service->state_ipv4 = service->state_ipv6 = CONNMAN_SERVICE_STATE_IDLE;