summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-10-25 20:34:31 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-10-25 20:34:31 +0000
commitecdfcbb919bfebdeffc407f407e30f730fb82956 (patch)
tree11ec86b1a3e771fefb3a5db26e3f52276fe83c41 /usr.bin/ssh
parente8fe268cdfaec343fa3f9c68d984fab18888066d (diff)
bugfix: print remote version, from chris@dqc.org
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index fc5bd1e9d1f..9ec78a12095 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -15,7 +15,7 @@ login (authentication) dialog.
*/
#include "includes.h"
-RCSID("$Id: sshconnect.c,v 1.22 1999/10/16 23:11:29 markus Exp $");
+RCSID("$Id: sshconnect.c,v 1.23 1999/10/25 20:34:30 markus Exp $");
#include <ssl/bn.h>
#include "xmalloc.h"
@@ -925,7 +925,7 @@ void ssh_exchange_identification()
enable_compat13();
if (options.forward_agent && strcmp(remote_version, SSH_VERSION) != 0) {
log("Agent forwarding disabled, remote version '%s' is not compatible.",
- SSH_VERSION);
+ remote_version);
options.forward_agent = 0;
}
}