From 4d6bf6d6c038c7b5ccdca003cca09a18ce1ea285 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 6 Feb 2026 09:22:37 -0600 Subject: add ip and location to vpn state --- src/slskd/Core/State.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3