From 796d5e60699b08c903cd3c9d865783dea4d6fbdc Mon Sep 17 00:00:00 2001 From: WildSoft Date: Fri, 16 Oct 2026 09:29:00 +0300 Subject: [PATCH] Update public source --- gui/app.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gui/app.py b/gui/app.py index db2703a..7865530 100644 --- a/gui/app.py +++ b/gui/app.py @@ -2427,6 +2427,10 @@ def api_network_wifi_devices(): devices, error = get_nm_wifi_devices() + vpn_connections, vpn_error = ( + get_active_vpn_connections() + ) + if error: return jsonify( @@ -2498,7 +2502,10 @@ def api_network_wifi_devices(): "No Wi-Fi interfaces found." if not devices else None - ) + ), + "vpn_active": bool(vpn_connections), + "vpn_connections": vpn_connections, + "vpn_error": vpn_error } )