summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/captive_portal_status.widget.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-08-14 17:13:38 +0000
committerErmal Luçi <eri@pfsense.org>2009-08-14 17:13:38 +0000
commitf9f71ad37706cbe37ebc8af34aa55c029369c075 (patch)
treedf22e56700dc3b90c6d0f6ed7ded3ecda3f6dd87 /usr/local/www/widgets/widgets/captive_portal_status.widget.php
parent74194bf7bb8c8c5783c7a48dfc5f81d4ba5feca7 (diff)
downloadpfsense-f9f71ad37706cbe37ebc8af34aa55c029369c075.zip
pfsense-f9f71ad37706cbe37ebc8af34aa55c029369c075.tar.gz
* Convert captive portal rules to use tables. This reduces the number of rules ALOT.
* Make the peruserbw setting use tables also by taking advantage of the tablearg option. * Convert statistics to use the new improvements of ipfw tables merged previously. * Make the limit of users allowed around 25000 instead of 9999 of before. NOTE: The only thing remaining for full optimization on ipfw(4) side is converting passthrumac and layer2 secure rules to tables aswell.
Diffstat (limited to 'usr/local/www/widgets/widgets/captive_portal_status.widget.php')
-rw-r--r--usr/local/www/widgets/widgets/captive_portal_status.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/captive_portal_status.widget.php b/usr/local/www/widgets/widgets/captive_portal_status.widget.php
index 0d7468f..1b74d26 100644
--- a/usr/local/www/widgets/widgets/captive_portal_status.widget.php
+++ b/usr/local/www/widgets/widgets/captive_portal_status.widget.php
@@ -65,7 +65,7 @@ if ($fp) {
foreach ($cpcontents as $cpcontent) {
$cpent = explode(",", $cpcontent);
if ($_GET['showact'])
- $cpent[5] = captiveportal_get_last_activity($cpent[1]);
+ $cpent[5] = captiveportal_get_last_activity($cpent[2]);
$cpdb[] = $cpent;
}
OpenPOWER on IntegriCloud