mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
fix udp server messages
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user