summaryrefslogtreecommitdiff
path: root/vpn/main.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-11-12 14:07:37 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-23 12:58:51 +0200
commitb04634c4902c12fa9a2044d7bbcfbd0088913b1b (patch)
treea9d15dac5ff676b64cc2c6dd9a3f4faf6d854488 /vpn/main.c
parent2023b90de4066fe2cf28b48bfca58c35c92aab20 (diff)
downloadconnman-b04634c4902c12fa9a2044d7bbcfbd0088913b1b.tar.gz
connman-b04634c4902c12fa9a2044d7bbcfbd0088913b1b.tar.bz2
connman-b04634c4902c12fa9a2044d7bbcfbd0088913b1b.zip
vpn: Add preliminary agent support
Diffstat (limited to 'vpn/main.c')
-rw-r--r--vpn/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vpn/main.c b/vpn/main.c
index eb074d4a..732bd4b1 100644
--- a/vpn/main.c
+++ b/vpn/main.c
@@ -308,6 +308,7 @@ int main(int argc, char *argv[])
else
config_init(option_config);
+ __connman_agent_init();
__vpn_provider_init(option_routes);
__vpn_manager_init();
__vpn_ipconfig_init();
@@ -329,6 +330,7 @@ int main(int argc, char *argv[])
__vpn_ipconfig_cleanup();
__vpn_manager_cleanup();
__vpn_provider_cleanup();
+ __connman_agent_cleanup();
__connman_dbus_cleanup();
__connman_log_cleanup(FALSE);