mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
Apply review suggestions
This commit is contained in:
@@ -428,7 +428,7 @@ namespace Rssdp.Infrastructure
|
||||
if (result.ReceivedBytes > 0)
|
||||
{
|
||||
var remoteEndpoint = (IPEndPoint)result.RemoteEndPoint;
|
||||
var localEndpointAdapter = _networkManager.GetAllBindInterfaces().Where(a => a.Index == result.PacketInformation.Interface).First();
|
||||
var localEndpointAdapter = _networkManager.GetAllBindInterfaces().First(a => a.Index == result.PacketInformation.Interface);
|
||||
|
||||
ProcessMessage(
|
||||
UTF8Encoding.UTF8.GetString(receiveBuffer, 0, result.ReceivedBytes),
|
||||
|
||||
Reference in New Issue
Block a user