add_listener w/o ssl
This commit is contained in:
parent
da66e74437
commit
f62e27ad8d
1 changed files with 4 additions and 3 deletions
|
@ -758,9 +758,10 @@ conf_set_listen_port(void *data)
|
||||||
}
|
}
|
||||||
if(listener_address == NULL)
|
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
|
#ifdef IPV6
|
||||||
add_listener(args->v.number, listener_address, AF_INET6);
|
add_listener(args->v.number, listener_address, AF_INET6, 0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -773,7 +774,7 @@ conf_set_listen_port(void *data)
|
||||||
#endif
|
#endif
|
||||||
family = AF_INET;
|
family = AF_INET;
|
||||||
|
|
||||||
add_listener(args->v.number, listener_address, family);
|
add_listener(args->v.number, listener_address, family, 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue