summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-15 15:39:36 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-17 21:27:27 +0530
commita59c6e4a0176ca9ad05c1980dcebfbb07b8a188f (patch)
tree9e473cf3e56f21048704ac4674afe6718bda1ffe /src/service.c
parent46c06a384067f29cdd9f1550278cda29798db7b2 (diff)
downloadconnman-a59c6e4a0176ca9ad05c1980dcebfbb07b8a188f.tar.gz
connman-a59c6e4a0176ca9ad05c1980dcebfbb07b8a188f.tar.bz2
connman-a59c6e4a0176ca9ad05c1980dcebfbb07b8a188f.zip
[SPIN] Fix the connman bugs.
- Fixed NTP service's DNS resolving failure in Hive project. - Do not turn "wlan0" interface down in cleanup_devices(). - Set resource limits "RLIMIT_NOFILE" for a process. - After appending a file, fflush and fsync all modified in-core data of the file. Change-Id: I2767b3302d6204d066fe2075027828ff209d0ee0 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src/service.c')
-rwxr-xr-xsrc/service.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index ed59930b..2baf8716 100755
--- a/src/service.c
+++ b/src/service.c
@@ -6746,6 +6746,15 @@ done:
__connman_wispr_start(service, CONNMAN_IPCONFIG_TYPE_IPV4);
}
+#if defined TIZEN_EXT
+void connman_check_proxy_setup_and_wispr_start(struct connman_service *service){
+
+ DBG("check the proxy and start wispr");
+ check_proxy_setup(service);
+ return;
+}
+#endif
+
/*
* How many networks are connected at the same time. If more than 1,
* then set the rp_filter setting properly (loose mode routing) so that network
@@ -6914,7 +6923,9 @@ int __connman_service_ipconfig_indicate_state(struct connman_service *service,
}
#endif
if (type == CONNMAN_IPCONFIG_TYPE_IPV4) {
+#if !defined TIZEN_EXT
check_proxy_setup(service);
+#endif
service_rp_filter(service, true);
} else {
service->online_check_count = 1;