summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-01-04 23:11:57 +0000
committerErmal Luçi <eri@pfsense.org>2009-01-04 23:11:57 +0000
commitf5fa7d5eb5d6db797a0cccdcf2e0f7bf97dd53eb (patch)
tree779e5e7cdb5a1a709113dd8273db4ddfcb80f375 /usr
parent9e1149a72572dc2f2c42379adbd3a02880109799 (diff)
downloadpfsense-f5fa7d5eb5d6db797a0cccdcf2e0f7bf97dd53eb.zip
pfsense-f5fa7d5eb5d6db797a0cccdcf2e0f7bf97dd53eb.tar.gz
Reactivate the peruser bandwidth limit on captive portal. This brings it ala par with features with the same version in m0n0.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_captiveportal.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index e68bd4f..c4345e5 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -222,9 +222,9 @@ function enable_change(enable_change) {
document.iform.radiuskey.disabled = radius_endis;
document.iform.radiuskey2.disabled = radius_endis;
document.iform.radacct_enable.disabled = radius_endis;
- //document.iform.peruserbw.disabled = endis;
- //document.iform.bwdefaultdn.disabled = endis;
- //document.iform.bwdefaultup.disabled = endis;
+ document.iform.peruserbw.disabled = endis;
+ document.iform.bwdefaultdn.disabled = endis;
+ document.iform.bwdefaultup.disabled = endis;
document.iform.reauthenticate.disabled = radius_endis;
document.iform.auth_method[0].disabled = endis;
document.iform.auth_method[1].disabled = endis;
@@ -349,8 +349,6 @@ to access after they've authenticated.</td>
This is required when the MAC address of the client cannot be determined (usually because there are routers between <?php echo $g['product_name'] ?> and the clients).
If this is enabled, RADIUS MAC authentication cannot be used.</td>
</tr>
-<?php
-/*
<tr>
<td valign="top" class="vncell">Per-user bandwidth restriction</td>
<td class="vtable">
@@ -366,10 +364,8 @@ to access after they've authenticated.</td>
<td><input type="text" class="formfld unknown" name="bwdefaultup" id="bwdefaultup" size="10" value="<?=htmlspecialchars($pconfig['bwdefaultup']);?>"> Kbit/s</td>
</tr></table>
<br>
- 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. You will <strong>need</strong> to enable the traffic shaper for this to be effective.</td>
+ 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. </td>
</tr>
-*/
-?>
<tr>
<td width="22%" valign="top" class="vncell">Authentication</td>
<td width="78%" class="vtable">
OpenPOWER on IntegriCloud