aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'libssh')
-rw-r--r--libssh/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/server.c b/libssh/server.c
index 716d63d1..25f760ad 100644
--- a/libssh/server.c
+++ b/libssh/server.c
@@ -127,6 +127,7 @@ SSH_SESSION *ssh_bind_accept(SSH_BIND *ssh_bind){
session=ssh_new(ssh_options_copy(ssh_bind->options));
session->server=1;
session->fd=fd;
+ session->options=ssh_options_copy(ssh_bind->options);
return session;
}