summaryrefslogtreecommitdiffstats
path: root/src/wol.c
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-02-15 12:06:51 +0000
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-02-15 16:26:21 +0100
commite4cb91b5f660984f437c85b1b60b8ba7682759bf (patch)
treeb4a28d9563d9aca63b69a94e71d51c29372804fb /src/wol.c
parent6ced18fcd87d281c38c02cdd83f76a2c7dd0eed6 (diff)
#990 wol: migrate mac and netmask query to ogServer
ogServer WoL rest function is expecting ip, mac and netmask from the request's payload. This makes the client responsible for providing such data. ogServer should be the owner of the database, this patch adjusts the parameter expected in a request payload for /wol action so clients only need to provide the ips and wol type (broadcast, unicast). Database is expected to contain valid data for the netmask and mac of target computers.
Diffstat (limited to 'src/wol.c')
0 files changed, 0 insertions, 0 deletions