mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-08-11 09:13:54 -04:00
Remove redundant cast
This commit is contained in:
parent
a3d3ec7e0b
commit
8925390ad4
@ -83,7 +83,7 @@ namespace Emby.Server.Implementations.Net
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var interfaceIndex = bindInterface.Index;
|
var interfaceIndex = bindInterface.Index;
|
||||||
var interfaceIndexSwapped = (int)IPAddress.HostToNetworkOrder(interfaceIndex);
|
var interfaceIndexSwapped = IPAddress.HostToNetworkOrder(interfaceIndex);
|
||||||
|
|
||||||
socket.MulticastLoopback = false;
|
socket.MulticastLoopback = false;
|
||||||
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
|
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user