mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
[Fix] NetworkManager binding to [::] (#4549)
* Autodiscovery enable/disable patch * Fixed [::] issue on bind. Altered test. * Update UdpServerEntryPoint.cs * Update Jellyfin.Networking.Tests.csproj * Update Jellyfin.Networking.Tests.csproj * Update INetworkManager.cs
This commit is contained in:
@@ -149,7 +149,7 @@ namespace MediaBrowser.Common.Net
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the address is a private address.
|
||||
/// The config option TrustIP6Interfaces overrides this functions behaviour.
|
||||
/// The configuration option TrustIP6Interfaces overrides this functions behaviour.
|
||||
/// </summary>
|
||||
/// <param name="address">Address to check.</param>
|
||||
/// <returns>True or False.</returns>
|
||||
@@ -157,7 +157,7 @@ namespace MediaBrowser.Common.Net
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the address is part of the user defined LAN.
|
||||
/// The config option TrustIP6Interfaces overrides this functions behaviour.
|
||||
/// The configuration option TrustIP6Interfaces overrides this functions behaviour.
|
||||
/// </summary>
|
||||
/// <param name="address">IP to check.</param>
|
||||
/// <returns>True if endpoint is within the LAN range.</returns>
|
||||
@@ -165,7 +165,7 @@ namespace MediaBrowser.Common.Net
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the address is part of the user defined LAN.
|
||||
/// The config option TrustIP6Interfaces overrides this functions behaviour.
|
||||
/// The configuration option TrustIP6Interfaces overrides this functions behaviour.
|
||||
/// </summary>
|
||||
/// <param name="address">IP to check.</param>
|
||||
/// <returns>True if endpoint is within the LAN range.</returns>
|
||||
@@ -173,7 +173,7 @@ namespace MediaBrowser.Common.Net
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the address is part of the user defined LAN.
|
||||
/// The config option TrustIP6Interfaces overrides this functions behaviour.
|
||||
/// The configuration option TrustIP6Interfaces overrides this functions behaviour.
|
||||
/// </summary>
|
||||
/// <param name="address">IP to check.</param>
|
||||
/// <returns>True if endpoint is within the LAN range.</returns>
|
||||
@@ -192,9 +192,9 @@ namespace MediaBrowser.Common.Net
|
||||
/// Parses an array of strings into a Collection{IPObject}.
|
||||
/// </summary>
|
||||
/// <param name="values">Values to parse.</param>
|
||||
/// <param name="bracketed">When true, only include values in []. When false, ignore bracketed values.</param>
|
||||
/// <param name="negated">When true, only include values beginning with !. When false, ignore ! values.</param>
|
||||
/// <returns>IPCollection object containing the value strings.</returns>
|
||||
Collection<IPObject> CreateIPCollection(string[] values, bool bracketed = false);
|
||||
Collection<IPObject> CreateIPCollection(string[] values, bool negated = false);
|
||||
|
||||
/// <summary>
|
||||
/// Returns all the internal Bind interface addresses.
|
||||
|
||||
Reference in New Issue
Block a user