summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/remotepc.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/rest/remotepc.php')
-rw-r--r--admin/WebConsole/rest/remotepc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/rest/remotepc.php b/admin/WebConsole/rest/remotepc.php
index 0d8491c0..c3b4fe7c 100644
--- a/admin/WebConsole/rest/remotepc.php
+++ b/admin/WebConsole/rest/remotepc.php
@@ -129,7 +129,7 @@ EOD;
// TODO: if client is busy?????
if ($app->settings['debug'])
writeRemotepcLog($app->request()->getResourceUri(). ": Send boot command through ogAdmServer: iph=$clntip,mac=$clntmac.");
- wol(1, [$clntmac], [$clntip], [$clntnetmask]);
+ wol(1, [$clntip]);
// Send WOL command to client repository.
$repo = [['url' => "https://$repoip/opengnsys/rest/repository/poweron",
'header' => ["Authorization: $repokey"],
@@ -642,7 +642,7 @@ EOD;
// TODO: if client is busy?????
if ($app->settings['debug'])
writeRemotepcLog("{$app->request()->getResourceUri()}: Send boot command through ogAdmServer: iph=$clntip,mac=$clntmac.");
- wol(1, [$clntmac], [$clntip], [$clntnetmask]);
+ wol(1, [$clntip]);
// Send WOL command to client repository.
$repo = [['url' => "https://$repoip/opengnsys/rest/repository/poweron",
'header' => ["Authorization: $repokey"],