aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libssh/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/server.c b/libssh/server.c
index b29fa68e..c992d9a6 100644
--- a/libssh/server.c
+++ b/libssh/server.c
@@ -130,7 +130,7 @@ ssh_bind ssh_bind_new(void) {
}
ZERO_STRUCTP(ptr);
ptr->bindfd = -1;
-
+ ptr->bindport= 22;
return ptr;
}