Simplified Code

This commit is contained in:
BaronGreenback
2021-01-19 10:36:37 +00:00
parent 8b2b3b77a5
commit 6a7623da02
5 changed files with 65 additions and 80 deletions

View File

@@ -129,6 +129,16 @@ namespace Jellyfin.Networking.Manager
/// </summary>
public static string MockNetworkSettings { get; set; } = string.Empty;
/// <summary>
/// Gets or sets a value indicating whether the system has IP4 is enabled.
/// </summary>
public static bool SystemIP4Enabled { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the system has IP6 is enabled.
/// </summary>
public static bool SystemIP6Enabled { get; set; }
/// <summary>
/// Gets or sets a value indicating whether IP6 is enabled.
/// </summary>
@@ -139,16 +149,6 @@ namespace Jellyfin.Networking.Manager
/// </summary>
public bool IsIP4Enabled { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the system has IP4 is enabled.
/// </summary>
public bool SystemIP4Enabled { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the system has IP6 is enabled.
/// </summary>
public bool SystemIP6Enabled { get; set; }
/// <inheritdoc/>
public Collection<IPObject> RemoteAddressFilter { get; private set; }