mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-05-15 17:06:59 +02:00
Minor code refactoring
This commit is contained in:
parent
17ceac4f81
commit
a25c75fb52
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ namespace SMBLibrary.SMB2
|
|||
|
||||
public LogoffRequest() : base(SMB2CommandName.Logoff)
|
||||
{
|
||||
StructureSize = 4;
|
||||
StructureSize = DeclaredSize;
|
||||
}
|
||||
|
||||
public LogoffRequest(byte[] buffer, int offset) : base(buffer, offset)
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace SMBLibrary.SMB2
|
|||
public LogoffResponse() : base(SMB2CommandName.Logoff)
|
||||
{
|
||||
Header.IsResponse = true;
|
||||
StructureSize = 4;
|
||||
StructureSize = DeclaredSize;
|
||||
}
|
||||
|
||||
public LogoffResponse(byte[] buffer, int offset) : base(buffer, offset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue