diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index b6d11914..04c6b7d6 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -361,6 +361,7 @@ namespace slskd writeBufferSize: OptionsAtStartup.Soulseek.Connection.Buffer.Transfer); var patch = new SoulseekClientOptionsPatch( + listenIPAddress: IPAddress.Parse(OptionsAtStartup.Soulseek.ListenIPAddress), listenPort: OptionsAtStartup.Soulseek.ListenPort, enableListener: true, userEndPointCache: new UserEndPointCache(), @@ -386,7 +387,7 @@ namespace slskd await Client.ReconfigureOptionsAsync(patch); Log.Debug("Client configured"); - Log.Information("Listening for incoming connections on port {Port}", OptionsAtStartup.Soulseek.ListenPort); + Log.Information("Listening for incoming connections on {IP:Port}", OptionsAtStartup.Soulseek.ListenIPAddress, OptionsAtStartup.Soulseek.ListenPort); if (OptionsAtStartup.Soulseek.Connection.Proxy.Enabled) { @@ -1049,6 +1050,7 @@ namespace slskd } var patch = new SoulseekClientOptionsPatch( + 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, |
