From a8015681569cd525364f29f15b304450df2bda10 Mon Sep 17 00:00:00 2001 From: Monviech <79600909+Monviech@users.noreply.github.com> Date: Sun, 27 Jul 2025 19:49:51 +0200 Subject: [PATCH] net/wol: Fix interface matching in widget to determine online status (#4842) --- net/wol/Makefile | 2 +- net/wol/src/opnsense/www/js/widgets/WakeOnLan.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/wol/Makefile b/net/wol/Makefile index b878db54f..6d3d25bee 100644 --- a/net/wol/Makefile +++ b/net/wol/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= wol PLUGIN_VERSION= 2.5 -PLUGIN_REVISION= 1 +PLUGIN_REVISION= 2 PLUGIN_DEPENDS= wol PLUGIN_COMMENT= Wake on LAN Service PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/wol/src/opnsense/www/js/widgets/WakeOnLan.js b/net/wol/src/opnsense/www/js/widgets/WakeOnLan.js index f123776c9..be5f12b57 100644 --- a/net/wol/src/opnsense/www/js/widgets/WakeOnLan.js +++ b/net/wol/src/opnsense/www/js/widgets/WakeOnLan.js @@ -66,7 +66,7 @@ export default class WakeOnLan extends BaseTableWidget { for(let it = 0; it < data.rows.length; it++){ const item = data.rows[it]; - let is_active = this.checkActive(arp, item.mac, item.interface); + let is_active = this.checkActive(arp, item.mac, item["%interface"]); let row = [ `${item.descr.length !== 0 ? item.descr + '
': ''} ${item.mac}`, `${item.interface}`,