mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/wol: fix false negatives on MAC lookup (#4231)
This commit is contained in:
@@ -94,7 +94,7 @@ export default class WakeOnLan extends BaseTableWidget {
|
||||
}
|
||||
|
||||
checkActive(arp_list, mac, intf) {
|
||||
const arp = arp_list.find((obj) => obj.mac === mac);
|
||||
const arp = arp_list.find((obj) => obj.mac === mac.toLowerCase());
|
||||
if (arp === undefined) {
|
||||
return 0;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user