Project

General

Profile

Actions

Bug #11708

closed

WOL wakes ALL devices when trying to wake up ONE device

Added by Karl Fischer about 4 years ago. Updated about 4 years ago.

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

wol-patch.diff (659 Bytes) wol-patch.diff Karl Fischer, 03/20/2021 08:53 AM
Actions #1

Updated by Viktor Gurov about 4 years ago

  • Status changed from New to Rejected

Fixed in 2.5.1/2.6

Actions #2

Updated by Jim Pingle about 4 years ago

  • Target version deleted (2.5.1)
Actions

Also available in: Atom PDF