From 617523ab4d93910240029493b4d5105f56fefb97 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 16 Dec 2023 20:28:54 -0600 Subject: fix case on IPAddress for YAML compatibility --- src/slskd/Application.cs | 6 +++--- src/slskd/Core/Options.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 04c6b7d6..a7483105 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -361,7 +361,7 @@ namespace slskd writeBufferSize: OptionsAtStartup.Soulseek.Connection.Buffer.Transfer); var patch = new SoulseekClientOptionsPatch( - listenIPAddress: IPAddress.Parse(OptionsAtStartup.Soulseek.ListenIPAddress), + listenIPAddress: IPAddress.Parse(OptionsAtStartup.Soulseek.ListenIpAddress), listenPort: OptionsAtStartup.Soulseek.ListenPort, enableListener: true, userEndPointCache: new UserEndPointCache(), @@ -387,7 +387,7 @@ namespace slskd await Client.ReconfigureOptionsAsync(patch); Log.Debug("Client configured"); - Log.Information("Listening for incoming connections on {IP:Port}", OptionsAtStartup.Soulseek.ListenIPAddress, OptionsAtStartup.Soulseek.ListenPort); + Log.Information("Listening for incoming connections son {IP}:{Port}", OptionsAtStartup.Soulseek.ListenIpAddress, OptionsAtStartup.Soulseek.ListenPort); if (OptionsAtStartup.Soulseek.Connection.Proxy.Enabled) { @@ -1050,7 +1050,7 @@ namespace slskd } var patch = new SoulseekClientOptionsPatch( - listenIPAddress: old.ListenIPAddress == update.ListenIPAddress ? null : IPAddress.Parse(update.ListenIPAddress), + listenIPAddress: old.ListenIpAddress == update.ListenIpAddress ? null : IPAddress.Parse(update.ListenIpAddress), listenPort: old.ListenPort == update.ListenPort ? null : update.ListenPort, enableDistributedNetwork: old.DistributedNetwork.Disabled == update.DistributedNetwork.Disabled ? null : !update.DistributedNetwork.Disabled, distributedChildLimit: old.DistributedNetwork.ChildLimit == update.DistributedNetwork.ChildLimit ? null : update.DistributedNetwork.ChildLimit, diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 2dd8d141..1eb92449 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1301,7 +1301,7 @@ namespace slskd [EnvironmentVariable("SLSK_LISTEN_IP_ADDRESS")] [Description("local IP address on which to listen for incoming connections")] [IPAddress] - public string ListenIPAddress { get; init; } = "0.0.0.0"; + public string ListenIpAddress { get; init; } = "0.0.0.0"; /// /// Gets the port on which to listen for incoming connections. -- cgit v1.2.3