src/rrdd.c: Try the default address if no other address is specified.
authorFlorian Forster <octo@leeloo.home.verplant.org>
Sun, 22 Jun 2008 12:18:51 +0000 (14:18 +0200)
committerFlorian Forster <octo@leeloo.home.verplant.org>
Sun, 22 Jun 2008 12:18:51 +0000 (14:18 +0200)
src/rrdd.c

index 042b331..5d0bf8a 100644 (file)
@@ -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 "