summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-10-24 10:02:31 +0930
committerRenato Botelho <renato@netgate.com>2016-10-25 13:25:45 -0200
commit0b1715e9b75b7edb9cf3d96c339bb9473c1e4cd3 (patch)
treee026b268da7e3e793cf1b84b5542e091059c503f
parent80762aaaa7e77fdeda0f07063650958982f3c97e (diff)
downloadpfsense-0b1715e9b75b7edb9cf3d96c339bb9473c1e4cd3.zip
pfsense-0b1715e9b75b7edb9cf3d96c339bb9473c1e4cd3.tar.gz
Fix #6872 CP bandwidth 0 is no valid
The front-end validation prevents zero from being entered. "Leave empty" is the way to specify no limit. (cherry picked from commit b7f2ebb5448f7992cceec899504bdd0a29058fb9)
-rw-r--r--src/usr/local/www/services_captiveportal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php
index 4fa8a82..8833c23 100644
--- a/src/usr/local/www/services_captiveportal.php
+++ b/src/usr/local/www/services_captiveportal.php
@@ -720,7 +720,7 @@ $section->addInput(new Form_Input(
'number',
$pconfig['bwdefaultup']
))->setHelp('If this option is set, the captive portal will restrict each user who logs in to the specified default bandwidth. ' .
- 'RADIUS can override the default settings. Leave empty or set to 0 for no limit.');
+ 'RADIUS can override the default settings. Leave empty for no limit.');
$form->add($section);
OpenPOWER on IntegriCloud