summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub.kim <taesub.kim@samsung.com>2016-01-21 16:36:33 +0900
committertaesub.kim <taesub.kim@samsung.com>2016-01-21 16:45:11 +0900
commit02826b927425b107b0ee899f2664f951f2b6ba0b (patch)
tree4ca1a9ac1584efcfc3ba1b31213a14e0d1a6b51f
parent3e953520ef8a1569cfa3e2ad1e388146fc4a5016 (diff)
downloadconnman-02826b927425b107b0ee899f2664f951f2b6ba0b.tar.gz
connman-02826b927425b107b0ee899f2664f951f2b6ba0b.tar.bz2
connman-02826b927425b107b0ee899f2664f951f2b6ba0b.zip
Remove option (route-noexec, ifconfig-noexec)submit/tizen/20160212.065902
Change-Id: I346d6c7325741f9ac44ba452e56a8a9ad55af869 route-noexec Don't add or remove routes automatically. Instead pass routes to --route-up script using environmental variables ifconfig-noexec Don't actually execute ifconfig/netsh commands, instead pass --ifconfig parameters to scripts using environmental Change-Id: Ib245d8ba5928b31f0da29843dd43b4c8a1f61b54
-rwxr-xr-xvpn/plugins/openvpn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vpn/plugins/openvpn.c b/vpn/plugins/openvpn.c
index 9ee5795c..e226afd1 100755
--- a/vpn/plugins/openvpn.c
+++ b/vpn/plugins/openvpn.c
@@ -366,8 +366,10 @@ static int ov_connect(struct vpn_provider *provider,
connman_task_add_argument(task, "--persist-tun", NULL);
+#if !defined TIZEN_EXT
connman_task_add_argument(task, "--route-noexec", NULL);
connman_task_add_argument(task, "--ifconfig-noexec", NULL);
+#endif
/*
* Disable client restarts because we can't handle this at the