diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-12-16 20:28:54 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-12-16 20:28:54 -0600 |
| commit | 617523ab4d93910240029493b4d5105f56fefb97 (patch) | |
| tree | ef11397f695957179d6c15bb39fc2bad9787b10e /src | |
| parent | 8f820e01591d0197945a13b1c1e1543613c56a2c (diff) | |
| download | slskd-617523ab4d93910240029493b4d5105f56fefb97.tar.gz | |
fix case on IPAddress for YAML compatibility
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application.cs | 6 | ||||
| -rw-r--r-- | src/slskd/Core/Options.cs | 2 |
2 files changed, 4 insertions, 4 deletions
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"; /// <summary> /// Gets the port on which to listen for incoming connections. |
