Skip to content

Commit

Permalink
captive portal: fix idle timeout for #150
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jun 22, 2015
1 parent 6048c12 commit f51edf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ public function portalCleanupSessions($cpzone = null)
foreach ($clients as $client) {
$idle_time = 0;
if (array_key_exists($client->ip, $acc_list)) {
$idle_time = $acc_list[$client->ip];
$idle_time = $acc_list[$client->ip]['idle_time'];
}

// if session timeout is reached, disconnect
Expand Down

0 comments on commit f51edf4

Please sign in to comment.