add_listener w/o ssl

This commit is contained in:
Valery Yatsko 2008-04-02 15:53:46 +04:00
parent 4dd4c5fcea
commit bdd19b720a
1 changed files with 4 additions and 3 deletions

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);
}