summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-01-27 15:31:36 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-01-31 15:58:36 +0100
commitcde0b261b8976d168af0cfa05f68f0d2543c501e (patch)
tree1afa8c5e7786fd0e8901609e4b72d72c2cf1a120 /src/main.c
parent268f4a8f7e81d8b32591e01b6dbcdca0bee1322f (diff)
downloadconnman-cde0b261b8976d168af0cfa05f68f0d2543c501e.tar.gz
connman-cde0b261b8976d168af0cfa05f68f0d2543c501e.tar.bz2
connman-cde0b261b8976d168af0cfa05f68f0d2543c501e.zip
dnsproxy: Fallback to resolv.conf if dnsproxy fails
In case dnsproxy can't create the socket listener we should fall back to resolv.conf. Reported by Kalle Valo <kalle.valo@canonical.com>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index d8cc8eac..b64e4356 100644
--- a/src/main.c
+++ b/src/main.c
@@ -221,7 +221,6 @@ int main(int argc, char *argv[])
__connman_stats_init();
__connman_resolver_init(option_dnsproxy);
- __connman_dnsproxy_init(option_dnsproxy);
__connman_ipconfig_init();
__connman_rtnl_init();
__connman_task_init();
@@ -257,7 +256,6 @@ int main(int argc, char *argv[])
__connman_task_cleanup();
__connman_rtnl_cleanup();
__connman_ipconfig_cleanup();
- __connman_dnsproxy_cleanup();
__connman_resolver_cleanup();
__connman_stats_cleanup();