summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-07-22 08:55:10 +0000
committerErmal <eri@pfsense.org>2011-07-22 08:55:28 +0000
commit8818c188b5b924b5f72b0e88c362a6de6efa8c2b (patch)
tree09ba12928c4e1ee78a9e6705c20d4bc50179bbfe /etc/inc/captiveportal.inc
parent739e227a98c2d3c722f782a553048ee015f96fe3 (diff)
downloadpfsense-8818c188b5b924b5f72b0e88c362a6de6efa8c2b.zip
pfsense-8818c188b5b924b5f72b0e88c362a6de6efa8c2b.tar.gz
Remove 'maxproc' since its unused in the code and correctly use maxprocperip to allow the GUI setting to be actually usable. Reported-by: http://forum.pfsense.org/index.php/topic,39155.0.html
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index a31b28c..13a560b 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -397,8 +397,8 @@ function captiveportal_init_webgui() {
if (!isset($config['captiveportal']['enable']))
return;
- if ($config['captiveportal']['maxproc'])
- $maxproc = $config['captiveportal']['maxproc'];
+ if ($config['captiveportal']['maxprocperip'])
+ $maxproc = $config['captiveportal']['maxprocperip'];
else
$maxproc = 16;
OpenPOWER on IntegriCloud