mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 12:05:04 +01:00
Send DLNA devices message to only the matched interface
This will be the right way for multiple interfaces, or the client will receive all devices message with different IP addresses and could not detect which one could access. And provide one option DlnaOptions.SendOnlyMatchedHost to fallback to old behaviour if this commit missed something.
This commit is contained in:
@@ -354,7 +354,7 @@ namespace Rssdp.Infrastructure
|
||||
|
||||
var message = BuildMessage(header, values);
|
||||
|
||||
return _CommunicationsServer.SendMulticastMessage(message, cancellationToken);
|
||||
return _CommunicationsServer.SendMulticastMessage(message, null, cancellationToken);
|
||||
}
|
||||
|
||||
private void ProcessSearchResponseMessage(HttpResponseMessage message, IpAddressInfo localIpAddress)
|
||||
|
||||
Reference in New Issue
Block a user