aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index ff5fcbb..022c15c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -26,13 +26,13 @@ int main(int argc, char *argv[])
ssh_ports[1] = "2223";
ssh_ports[2] = "22050";
for (size_t i = 0; i < srv_siz; ++i) {
- N("Initialising SSH server on port %s", ssh_ports[i]);
+ D("Initialising redirector service on port %s", ssh_ports[i]);
ABORT_ON_FATAL( server_init_ctx(&srv[i], ssh_init_cb),
"Server initialisation" );
server_validate_ctx(&srv[i]);
- GAI_ABORT_ON_FATAL( socket_init_in(&srv[i].sock, NULL, ssh_ports[i], &netifs),
+ GAI_ABORT_ON_FATAL( socket_init_in(NULL, ssh_ports[i], &netifs),
"Socket initialisation" );
ABORT_ON_FATAL( socket_bind_in(&srv[i].sock, netifs),