The Free Software Media System - Server Backend & API
Remove redundant cast
Stepan Goremykin8925390ad4c9
diff --git a/Emby.Server.Implementations/Net/SocketFactory.cs b/Emby.Server.Implementations/Net/SocketFactory.csindex 51e92953df..3091398b7b 100644--- a/Emby.Server.Implementations/Net/SocketFactory.cs+++ b/Emby.Server.Implementations/Net/SocketFactory.cs@@ -83,7 +83,7 @@ namespace Emby.Server.Implementations.Nettry{var interfaceIndex = bindInterface.Index;- var interfaceIndexSwapped = (int)IPAddress.HostToNetworkOrder(interfaceIndex);+ var interfaceIndexSwapped = IPAddress.HostToNetworkOrder(interfaceIndex);socket.MulticastLoopback = false;socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);