From ce5fae934bc88d24f17fe7493574da8d69714cb0 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Tue, 29 Apr 2025 14:14:26 +0200 Subject: [PATCH] Fix WG bug introduced in latest PR --- tasmota/tasmota_xdrv_driver/xdrv_80_wireguard_client.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_80_wireguard_client.ino b/tasmota/tasmota_xdrv_driver/xdrv_80_wireguard_client.ino index 04aafc7a9..2fa3570c3 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_80_wireguard_client.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_80_wireguard_client.ino @@ -287,11 +287,11 @@ bool Xdrv80(uint32_t function) { WireguardLoop(); break; #ifdef USE_WEBSERVER - case FUNC_WEB_STATUS: + case FUNC_WEB_STATUS_RIGHT: if (Wireguard.started && Wireguard.peer_status == 1) { // number of seconds since connection, or -1 if no valid time int32_t seconds = Wireguard.connected_since_utc ? Rtc.utc_time - Wireguard.connected_since_utc : -1; - WSContentStatusSticker(PSTR("VPN"), seconds); + WSContentStatusSticker(PSTR("VPN")); } break; #endif // USE_WEBSERVER