mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-20 08:05:53 +02:00
ConnectionState: Renamed ServerDialect to Dialect
This commit is contained in:
parent
054d537c26
commit
3325d1842f
5 changed files with 14 additions and 14 deletions
|
@ -69,13 +69,13 @@ namespace SMBLibrary.Server
|
|||
/// </summary>
|
||||
private SMB2Command ProcessSMB2Command(SMB2Command command, ref ConnectionState state)
|
||||
{
|
||||
if (state.ServerDialect == SMBDialect.NotSet)
|
||||
if (state.Dialect == SMBDialect.NotSet)
|
||||
{
|
||||
if (command is NegotiateRequest)
|
||||
{
|
||||
NegotiateRequest request = (NegotiateRequest)command;
|
||||
SMB2Command response = NegotiateHelper.GetNegotiateResponse(request, m_securityProvider, state, m_serverGuid, m_serverStartTime);
|
||||
if (state.ServerDialect != SMBDialect.NotSet)
|
||||
if (state.Dialect != SMBDialect.NotSet)
|
||||
{
|
||||
state = new SMB2ConnectionState(state, AllocatePersistentFileID);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue