Skip to content

Commit

Permalink
SMBServer: Start Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TalAloni committed Dec 10, 2021
1 parent 3c47285 commit 0099084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SMBLibrary/Server/SMBServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void Start(IPAddress serverAddress, SMBTransportType transport, bool enab
/// <exception cref="System.Net.Sockets.SocketException"></exception>
public void Start(IPAddress serverAddress, SMBTransportType transport, bool enableSMB1, bool enableSMB2, bool enableSMB3, TimeSpan? connectionInactivityTimeout)
{
int port = (m_transport == SMBTransportType.DirectTCPTransport ? DirectTCPPort : NetBiosOverTCPPort);
int port = (transport == SMBTransportType.DirectTCPTransport ? DirectTCPPort : NetBiosOverTCPPort);
Start(serverAddress, transport, port, enableSMB1, enableSMB2, enableSMB3, connectionInactivityTimeout);
}

Expand Down

0 comments on commit 0099084

Please sign in to comment.