diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-08-14 17:13:38 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-08-14 17:13:38 +0000 |
commit | f9f71ad37706cbe37ebc8af34aa55c029369c075 (patch) | |
tree | df22e56700dc3b90c6d0f6ed7ded3ecda3f6dd87 /usr/local/www/status_captiveportal.php | |
parent | 74194bf7bb8c8c5783c7a48dfc5f81d4ba5feca7 (diff) | |
download | pfsense-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/status_captiveportal.php')
-rwxr-xr-x | usr/local/www/status_captiveportal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php index 9e17d4b..f29e749 100755 --- a/usr/local/www/status_captiveportal.php +++ b/usr/local/www/status_captiveportal.php @@ -71,7 +71,7 @@ $concurrent = count($cpcontents); 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; } if ($_GET['order']) { |