From ed660c29c348eb2f7f2af21fa562589561cb35f1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Jul 2009 16:05:45 +0200 Subject: Check for OpenSSH and implement sftp_symlink correct. When OpenSSH's sftp-server was implemented, the order of the arguments to the SSH_FXP_SYMLINK method was inadvertently reversed. Unfortunately, the reversal was not noticed until the server was widely deployed. Since fixing this to follow the specification would cause incompatibility, the current order was retained. --- include/libssh/priv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh/priv.h') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 958b0d04..b01b4e93 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -337,6 +337,7 @@ struct ssh_session { int protoversion; int server; int client; + int openssh; u32 send_seq; u32 recv_seq; /* status flags */ -- cgit