aboutsummaryrefslogtreecommitdiff
path: root/libssh/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/server.c')
-rw-r--r--libssh/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/server.c b/libssh/server.c
index 4f28c6a1..cbc6eea8 100644
--- a/libssh/server.c
+++ b/libssh/server.c
@@ -94,6 +94,7 @@ int ssh_bind_listen(SSH_BIND *ssh_bind){
int fd;
if(!ssh_bind->options)
return -1;
+ ssh_socket_init();
host=ssh_bind->options->bindaddr;
if(!host)
host="0.0.0.0";