add_listener w/o ssl

This commit is contained in:
Valery Yatsko 2008-04-02 15:53:46 +04:00
parent da66e74437
commit f62e27ad8d

View file

@ -758,9 +758,10 @@ conf_set_listen_port(void *data)
}
if(listener_address == NULL)
{
add_listener(args->v.number, listener_address, AF_INET);
/* XXX put ssl here -- dwr */
add_listener(args->v.number, listener_address, AF_INET, 0);
#ifdef IPV6
add_listener(args->v.number, listener_address, AF_INET6);
add_listener(args->v.number, listener_address, AF_INET6, 0);
#endif
}
else
@ -773,7 +774,7 @@ conf_set_listen_port(void *data)
#endif
family = AF_INET;
add_listener(args->v.number, listener_address, family);
add_listener(args->v.number, listener_address, family, 0);
}