Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Commit

Permalink
Update LightReflectiveMirrorTransport.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxpxr committed Apr 11, 2021
1 parent 950ad45 commit 30468fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void DataReceived(ArraySegment<byte> segmentData, int channel)
break;
case OpCodes.RequestNATConnection:
// Called when the LRM node would like us to establish a NAT puncher connection. Its safe to ignore if NAT punch is disabled.
if (GetLocalIp() != null && _directConnectModule != null)
if (GetLocalIp() != null && _directConnectModule != null && useNATPunch)
{
byte[] initalData = new byte[150];
int sendPos = 0;
Expand Down

0 comments on commit 30468fd

Please sign in to comment.