diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2023-02-15 22:34:44 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2023-02-15 22:34:44 +0100 |
| commit | 4eba16c6726564b159e395e188ec89f69d990e52 (patch) | |
| tree | ed3f417719064056beae2e64900aa33fcd2092e6 /Jellyfin.Networking/Configuration | |
| parent | 1cc7572445789c703bb9456224e3f768083c4f65 (diff) | |
Apply review suggestions
Diffstat (limited to 'Jellyfin.Networking/Configuration')
| -rw-r--r-- | Jellyfin.Networking/Configuration/NetworkConfiguration.cs | 4 | ||||
| -rw-r--r-- | Jellyfin.Networking/Configuration/NetworkConfigurationExtensions.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Networking/Configuration/NetworkConfiguration.cs b/Jellyfin.Networking/Configuration/NetworkConfiguration.cs index f904198510..f31d2bce2d 100644 --- a/Jellyfin.Networking/Configuration/NetworkConfiguration.cs +++ b/Jellyfin.Networking/Configuration/NetworkConfiguration.cs @@ -115,12 +115,12 @@ namespace Jellyfin.Networking.Configuration /// <summary> /// Gets or sets a value indicating whether IPv6 is enabled or not. /// </summary> - public bool EnableIPV4 { get; set; } = true; + public bool EnableIPv4 { get; set; } = true; /// <summary> /// Gets or sets a value indicating whether IPv6 is enabled or not. /// </summary> - public bool EnableIPV6 { get; set; } + public bool EnableIPv6 { get; set; } /// <summary> /// Gets or sets a value indicating whether access outside of the LAN is permitted. diff --git a/Jellyfin.Networking/Configuration/NetworkConfigurationExtensions.cs b/Jellyfin.Networking/Configuration/NetworkConfigurationExtensions.cs index 8cbe398b07..3ba6bb8fcb 100644 --- a/Jellyfin.Networking/Configuration/NetworkConfigurationExtensions.cs +++ b/Jellyfin.Networking/Configuration/NetworkConfigurationExtensions.cs @@ -14,7 +14,7 @@ namespace Jellyfin.Networking.Configuration /// <returns>The <see cref="NetworkConfiguration"/>.</returns> public static NetworkConfiguration GetNetworkConfiguration(this IConfigurationManager config) { - return config.GetConfiguration<NetworkConfiguration>("network"); + return config.GetConfiguration<NetworkConfiguration>(NetworkConfigurationStore.StoreKey); } } } |
