From: Florian Forster Date: Sun, 22 Jun 2008 12:18:51 +0000 (+0200) Subject: src/rrdd.c: Try the default address if no other address is specified. X-Git-Url: https://git.octo.it/?p=rrdd.git;a=commitdiff_plain;h=8dadddc66302064ba3bd51960a9e819df2351b30 src/rrdd.c: Try the default address if no other address is specified. --- diff --git a/src/rrdd.c b/src/rrdd.c index 042b331..5d0bf8a 100644 --- a/src/rrdd.c +++ b/src/rrdd.c @@ -624,6 +624,9 @@ static void *listen_thread_main (void *args) /* {{{ */ open_listen_socket (config_listen_address_list[i]); } + if (config_listen_address_list_len < 1) + open_listen_socket (RRDD_SOCK_PATH); + if (listen_fds_num < 1) { RRDD_LOG (LOG_ERR, "listen_thread_main: No listen sockets "