diff options
author | 2000-01-02 14:25:51 +0000 | |
---|---|---|
committer | 2000-01-02 14:25:51 +0000 | |
commit | b34c2c138889cecc4a9873a7ee18ccaa8f18d8a4 (patch) | |
tree | 22e620b88452b365b1194779849aca86db43f541 | |
parent | add following IPv6 configs: rtadvd_flags route6d_flags rtsold_flags (diff) | |
download | wireguard-openbsd-b34c2c138889cecc4a9873a7ee18ccaa8f18d8a4.tar.xz wireguard-openbsd-b34c2c138889cecc4a9873a7ee18ccaa8f18d8a4.zip |
compare correct version for 1.3 compat mode
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <ssl/bn.h> #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; |