diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-07-06 14:35:03 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-07-06 14:35:03 +0000 |
commit | 636432e47593f145675e40e21bb8c8b6eb6ce8be (patch) | |
tree | ae21dfd533829c79fc2cad82da3353dae4c5e59c /libssh/options.c | |
parent | 55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5 (diff) | |
download | libssh-636432e47593f145675e40e21bb8c8b6eb6ce8be.tar.gz libssh-636432e47593f145675e40e21bb8c8b6eb6ce8be.tar.xz libssh-636432e47593f145675e40e21bb8c8b6eb6ce8be.zip |
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
Diffstat (limited to 'libssh/options.c')
-rw-r--r-- | libssh/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/options.c b/libssh/options.c index 1de36256..bde7f5e4 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); |