Actions
Bug #11708
closedWOL wakes ALL devices when trying to wake up ONE device
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Wake on LAN
Target version:
-
Start date:
03/20/2021
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.5.x
Affected Architecture:
All
Description
Hi,
I've played with WOL a bit and found the following:
After waking up ALL devices ONCE, the URI changes to /services_wol.php?wakeall=true
Then, after manually shutting down all devices and trying to wake up ONE device (still on the same WOL page of the GUI without doing anything else in between), ALL devices are waked up. Easy to reproduce.
A quick look in /usr/local/www/services_wol.php showed that waking a single device uses POST while "Wake All Devices" uses GET, causing the URI to change and stay changed until called fresh from the Service menu.
My quick fix was adding "usepost" to the wakeall condition (see diff attached). Not sure if this is the proper way to fix this but at least it does work for me.
Files
Actions