mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-01 15:33:17 +02:00
Renamed variable
This commit is contained in:
parent
d996cf430c
commit
ae2f98fbbd
2 changed files with 4 additions and 4 deletions
|
@ -131,8 +131,8 @@ namespace SMBLibrary.SMB1
|
||||||
{
|
{
|
||||||
if (buffer.Length >= 4)
|
if (buffer.Length >= 4)
|
||||||
{
|
{
|
||||||
byte[] signature = ByteReader.ReadBytes(buffer, 0, 4);
|
byte[] protocol = ByteReader.ReadBytes(buffer, 0, 4);
|
||||||
return ByteUtils.AreByteArraysEqual(signature, ProtocolSignature);
|
return ByteUtils.AreByteArraysEqual(protocol, ProtocolSignature);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -173,8 +173,8 @@ namespace SMBLibrary.SMB2
|
||||||
{
|
{
|
||||||
if (buffer.Length >= 4)
|
if (buffer.Length >= 4)
|
||||||
{
|
{
|
||||||
byte[] signature = ByteReader.ReadBytes(buffer, 0, 4);
|
byte[] protocol = ByteReader.ReadBytes(buffer, 0, 4);
|
||||||
return ByteUtils.AreByteArraysEqual(signature, ProtocolSignature);
|
return ByteUtils.AreByteArraysEqual(protocol, ProtocolSignature);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue