aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Udp
diff options
context:
space:
mode:
authorJim Cartlidge <jimcartlidge@yahoo.co.uk>2020-10-04 09:56:33 +0100
committerJim Cartlidge <jimcartlidge@yahoo.co.uk>2020-10-04 09:56:33 +0100
commit53af1e34553917d00e17465f345ea530f04beddf (patch)
treec9ec4bbd1536da705263c71075d48bb9f226a9c7 /Emby.Server.Implementations/Udp
parent3b64171cde969a7cfca60d28c7782774a173758b (diff)
Updatig netcollection & re-inserting BOM
Diffstat (limited to 'Emby.Server.Implementations/Udp')
-rw-r--r--Emby.Server.Implementations/Udp/UdpServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Udp/UdpServer.cs b/Emby.Server.Implementations/Udp/UdpServer.cs
index 3dc34da5cf..4fd7ac0c18 100644
--- a/Emby.Server.Implementations/Udp/UdpServer.cs
+++ b/Emby.Server.Implementations/Udp/UdpServer.cs
@@ -49,7 +49,7 @@ namespace Emby.Server.Implementations.Udp
{
string localUrl = !string.IsNullOrEmpty(_config[AddressOverrideConfigKey])
? _config[AddressOverrideConfigKey]
- : _appHost.GetSmartApiUrl(string.Empty); // MIGRATION: Temp value.
+ : _appHost.GetSmartApiUrl(((IPEndPoint)endpoint).Address);
if (!string.IsNullOrEmpty(localUrl))
{