summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/hooks/client-update.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/rebootcontrol/hooks/client-update.inc.php')
-rw-r--r--modules-available/rebootcontrol/hooks/client-update.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/rebootcontrol/hooks/client-update.inc.php b/modules-available/rebootcontrol/hooks/client-update.inc.php
index 48c16b66..006a5e11 100644
--- a/modules-available/rebootcontrol/hooks/client-update.inc.php
+++ b/modules-available/rebootcontrol/hooks/client-update.inc.php
@@ -1,6 +1,7 @@
<?php
if ($type === '~poweron') {
+ $NOW = time();
$subnet = Request::post('subnet', false, 'string');
if ($subnet !== false && ($subnet = explode('/', $subnet)) !== false && count($subnet) === 2
&& $subnet[0] === $ip && $subnet[1] >= 8 && $subnet[1] < 32) {