summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-07-28 11:47:53 +0200
committerAndreas Schneider <mail@cynapses.org>2009-07-28 13:25:26 +0200
commit69ceaae9a9f69dba11ab01889da5b41cb1487896 (patch)
treef32840e6c682e101107b2be40d64832e9c88da4f /include/libssh/priv.h
parent1abdb28995fa5db61af7f385abf078c9b58fd843 (diff)
downloadlibssh-69ceaae9a9f69dba11ab01889da5b41cb1487896.tar.gz
libssh-69ceaae9a9f69dba11ab01889da5b41cb1487896.tar.xz
libssh-69ceaae9a9f69dba11ab01889da5b41cb1487896.zip
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.
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index a5c91cc4..6b1cd3cb 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -340,6 +340,7 @@ struct ssh_session_struct {
int protoversion;
int server;
int client;
+ int openssh;
uint32_t send_seq;
uint32_t recv_seq;
/* status flags */