Minor code refactoring

This commit is contained in:
Tal Aloni 2017-09-05 18:28:15 +03:00
parent 17ceac4f81
commit a25c75fb52
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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)