# define RRDD_LOG(severity, ...) syslog ((severity), __VA_ARGS__)
#endif
-#define DEFAULT_PORT "42217"
-
/*
* Types
*/
for (ai_ptr = ai_res; ai_ptr != NULL; ai_ptr = ai_ptr->ai_next)
{
int fd;
- struct sockaddr_storage sa;
listen_socket_t *temp;
temp = (listen_socket_t *) realloc (listen_fds,
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 "