Commit 01f42aee authored by Niels Möller's avatar Niels Möller
Browse files

(make_lshd_listen: Replaced listen_callback with new

bind and listen commands.

Rev: src/lshd.c:1.143
parent 55c910fd
......@@ -298,6 +298,7 @@ DEFINE_COMMAND(options2local)
struct exception_handler *e UNUSED)
{
CAST(lshd_options, options, a);
/* FIXME: Call bind already here? */
COMMAND_RETURN(c, options->local);
}
......@@ -418,7 +419,6 @@ DEFINE_COMMAND(options2tcp_wrapper)
#if WITH_TCPWRAPPERS
CAST(lshd_options, options, a);
if (options->tcp_wrapper_name)
COMMAND_RETURN(c,
make_tcp_wrapper(
......@@ -870,14 +870,14 @@ main_argp =
(expr (lambda (options)
(let ((keys (options2keys options)))
(close_on_sighup options
(listen_callback
(listen
(lambda (lv)
(services (connection_handshake
handshake
(kexinit_filter init keys)
keys
(options2tcp_wrapper options lv))))
(options2local options) ))))))
(bind (options2local options)) ))))))
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment