diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-02-06 09:22:37 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-02-06 09:22:37 -0600 |
| commit | 4d6bf6d6c038c7b5ccdca003cca09a18ce1ea285 (patch) | |
| tree | 40b754686976d977eb044741140b8479a6d3479f /src/slskd | |
| parent | b2c321c401d305e7c8f9edcd60c3d9e03ddfa359 (diff) | |
| download | slskd-4d6bf6d6c038c7b5ccdca003cca09a18ce1ea285.tar.gz | |
add ip and location to vpn state
Diffstat (limited to 'src/slskd')
| -rw-r--r-- | src/slskd/Core/State.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slskd/Core/State.cs b/src/slskd/Core/State.cs index 7730e0eb..f9a3bf97 100644 --- a/src/slskd/Core/State.cs +++ b/src/slskd/Core/State.cs @@ -96,9 +96,11 @@ namespace slskd public record VpnState { + public bool IsReady { get; init; } = false; public bool IsConnected { get; init; } = false; + public IPAddress PublicIPAddress { get; init; } = null; + public string Location { get; init; } = null; public int? ForwardedPort { get; init; } = null; - public bool IsReady { get; init; } = false; } public record RelayState |
