net/wol: Fix interface matching in widget to determine online status (#4842)

This commit is contained in:
Monviech
2025-07-27 19:49:51 +02:00
committed by GitHub
parent 55c9a9e82a
commit a801568156
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
@@ -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 + '<br/>': ''} ${item.mac}`,
`${item.interface}`,