mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-28 03:36:07 +02:00
SMB1: Corrected implementation of SMB_COM_TRANSACTION subcommand requests
This commit is contained in:
parent
62556a1bdc
commit
144f5c1cbd
10 changed files with 23 additions and 20 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2014 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
*
|
||||
* You can redistribute this program and/or modify it under the terms of
|
||||
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||
|
@ -33,7 +33,7 @@ namespace SMBLibrary.SMB1
|
|||
byte[] setup = new byte[4];
|
||||
LittleEndianWriter.WriteUInt16(setup, 0, (ushort)this.SubcommandName);
|
||||
LittleEndianWriter.WriteUInt16(setup, 2, FID);
|
||||
return base.GetSetup();
|
||||
return setup;
|
||||
}
|
||||
|
||||
public override TransactionSubcommandName SubcommandName
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue