From 85ed8b0ced2b0ea6231d2884a7a09f16b0b13646 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Sun, 2 Jan 2000 14:25:52 +0000 Subject: compare correct version for 1.3 compat mode --- usr.bin/ssh/sshconnect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh') diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index a71589aee4b..946587c522f 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -8,7 +8,7 @@ */ #include "includes.h" -RCSID("$Id: sshconnect.c,v 1.47 1999/12/20 08:35:36 markus Exp $"); +RCSID("$Id: sshconnect.c,v 1.48 2000/01/02 14:25:51 markus Exp $"); #include #include "xmalloc.h" @@ -1015,7 +1015,7 @@ ssh_exchange_identification() /* We speak 1.3, too. */ if (remote_major == 1 && remote_minor == 3) { enable_compat13(); - if (options.forward_agent && strcmp(remote_version, SSH_VERSION) != 0) { + if (options.forward_agent && strcmp(remote_version, "OpenSSH-1.1") != 0) { log("Agent forwarding disabled, remote version '%s' is not compatible.", remote_version); options.forward_agent = 0; -- cgit v1.2.3