mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-07 16:28:56 +01:00
Revert "Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored."
This reverts commit 2aaecb8e14.
This commit is contained in:
@@ -41,12 +41,10 @@ namespace MediaBrowser.Common.Net
|
||||
/// <returns><c>true</c> if [is in local network] [the specified endpoint]; otherwise, <c>false</c>.</returns>
|
||||
bool IsInLocalNetwork(string endpoint);
|
||||
|
||||
IPAddress[] GetLocalIpAddresses();
|
||||
IPAddress[] GetLocalIpAddresses(bool ignoreVirtualInterface);
|
||||
|
||||
bool IsAddressInSubnets(string addressString, string[] subnets);
|
||||
|
||||
bool IsAddressInSubnets(IPAddress address, bool excludeInterfaces, bool excludeRFC);
|
||||
|
||||
bool IsInSameSubnet(IPAddress address1, IPAddress address2, IPAddress subnetMask);
|
||||
|
||||
IPAddress GetLocalIpSubnetMask(IPAddress address);
|
||||
|
||||
Reference in New Issue
Block a user