mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/wol: Fix interface matching in widget to determine online status (#4842)
This commit is contained in:
+1
-1
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user