mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 09:15:47 +00:00
Fix reading Sftp Messages
This commit is contained in:
@@ -18,6 +18,14 @@ namespace Renci.SshClient.Messages.Sftp
|
||||
return Load(data, messageType);
|
||||
}
|
||||
|
||||
public override int ZeroReaderIndex
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
static SftpMessage()
|
||||
{
|
||||
SftpMessage._sftpMessageTypes.Add(SftpMessageTypes.Init, new LoadFunc<SftpMessage>(Load<InitMessage>));
|
||||
|
||||
Reference in New Issue
Block a user