summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/compat.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-04-04 15:19:44 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-04-04 15:19:44 +0000
commit50996f7ea20db69057fa8dc13a911c8ed3c3ff6c (patch)
tree844d6e225da7109dc79d88b51708490f3e551435 /usr.bin/ssh/compat.c
parent9c582b8b5d61a87dd5ca9eaf2f561c05d55d7739 (diff)
ssh2 client implementation, interops w/ ssh.com and lsh servers.
Diffstat (limited to 'usr.bin/ssh/compat.c')
-rw-r--r--usr.bin/ssh/compat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/ssh/compat.c b/usr.bin/ssh/compat.c
index a4579b46013..a9a3e755e28 100644
--- a/usr.bin/ssh/compat.c
+++ b/usr.bin/ssh/compat.c
@@ -28,7 +28,7 @@
*/
#include "includes.h"
-RCSID("$Id: compat.c,v 1.6 2000/04/03 07:07:15 markus Exp $");
+RCSID("$Id: compat.c,v 1.7 2000/04/04 15:19:42 markus Exp $");
#include "ssh.h"
#include "packet.h"
@@ -40,7 +40,9 @@ int datafellows = 0;
void
enable_compat20(void)
{
- fatal("protocol 2.0 not implemented");
+ verbose("Enabling compatibility mode for protocol 2.0");
+ compat20 = 1;
+ packet_set_ssh2_format();
}
void
enable_compat13(void)