Skip to content

Commit 439e19e

Browse files
committed
Done?
1 parent 28e7255 commit 439e19e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

NetworkManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ private string GetLocalIPAddress()
247247
foreach (IPAddress ip in Dns.GetHostAddresses(Dns.GetHostName()))
248248
{
249249
if (ip.AddressFamily == AddressFamily.InterNetwork)
250+
{
250251
return ip.ToString();
252+
}
251253
}
252254
return "127.0.0.1";
253255
}

0 commit comments

Comments
 (0)