summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-01-26 09:50:33 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-26 09:56:25 +0100
commit2abadb22447f8d693c4cc7bae00b8cf869b625fa (patch)
tree9f69ed784956b23446cf9f6ea37caee7518f5e46 /src/main.c
parentc04a2f0f523c6f27966182283710f67d3fdcc1e3 (diff)
downloadconnman-2abadb22447f8d693c4cc7bae00b8cf869b625fa.tar.gz
connman-2abadb22447f8d693c4cc7bae00b8cf869b625fa.tar.bz2
connman-2abadb22447f8d693c4cc7bae00b8cf869b625fa.zip
resolver: Only support resolv.conf and dnsproxy
Remove resolver module support.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 808c0d59..ba32b2a7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -228,8 +228,8 @@ int main(int argc, char *argv[])
__connman_config_init();
__connman_stats_init();
+ __connman_resolver_init(option_dnsproxy);
__connman_dnsproxy_init(option_dnsproxy);
- __connman_resolver_init();
__connman_ipconfig_init();
__connman_rtnl_init();
__connman_task_init();
@@ -265,8 +265,8 @@ int main(int argc, char *argv[])
__connman_task_cleanup();
__connman_rtnl_cleanup();
__connman_ipconfig_cleanup();
- __connman_resolver_cleanup();
__connman_dnsproxy_cleanup();
+ __connman_resolver_cleanup();
__connman_stats_cleanup();
__connman_config_cleanup();