fix udp server messages

This commit is contained in:
LukePulverenti
2013-03-17 12:31:02 -04:00
parent 3a4befff6b
commit 88d5e34210
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ namespace MediaBrowser.Common.Implementations.NetworkManagement
{
var host = Dns.GetHostEntry(Dns.GetHostName());
var ip = host.AddressList.FirstOrDefault(i => i.AddressFamily == AddressFamily.InterNetwork);
var ip = host.AddressList.LastOrDefault(i => i.AddressFamily == AddressFamily.InterNetwork);
if (ip == null)
{