add_listener w/o ssl
This commit is contained in:
parent
4dd4c5fcea
commit
bdd19b720a
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue