From 636432e47593f145675e40e21bb8c8b6eb6ce8be Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 6 Jul 2005 14:35:03 +0000 Subject: sample sshd server accepts a client and sends a banner. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@4 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/options.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libssh/options.c') diff --git a/libssh/options.c b/libssh/options.c index 1de3625..bde7f5e 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -368,6 +368,7 @@ int ssh_options_getopt(SSH_OPTIONS *options, int *argcptr, char **argv){ if(cont && localaddr) ssh_options_set_bind(options,localaddr,0); ssh_options_set_port(options,port); + options->bindport=port; if(ssh1){ ssh_options_allow_ssh1(options,1); ssh_options_allow_ssh2(options,0); -- cgit