summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pptp.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-11-08 18:58:52 -0500
committerChris Buechler <cmb@pfsense.org>2009-11-08 18:58:52 -0500
commitf9f160b18f89f67de329f4f117375cfd77419d87 (patch)
tree0ce9b5db58c1575ad565ea154528d7ca9bc85ecd /usr/local/www/vpn_pptp.php
parentba9d3f0755857435aed24562713c8cd94c1b6192 (diff)
downloadpfsense-f9f160b18f89f67de329f4f117375cfd77419d87.zip
pfsense-f9f160b18f89f67de329f4f117375cfd77419d87.tar.gz
clean up RADIUS issued IPs, shouldn't be two fields, and it wasn't properly checked/unchecked before. Fixes cvstrac # 1722
Diffstat (limited to 'usr/local/www/vpn_pptp.php')
-rwxr-xr-xusr/local/www/vpn_pptp.php25
1 files changed, 9 insertions, 16 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php
index 7c49c9f..8e20a90 100755
--- a/usr/local/www/vpn_pptp.php
+++ b/usr/local/www/vpn_pptp.php
@@ -384,12 +384,6 @@ function enable_change(enable_over) {
primary and secondary DNS servers assigned to PPTP clients<br>
</tr>
- <tr>
- <td width="22%" valign="top" class="vncell">RADIUS issued IPs</td>
- <td width="78%" valign="top" class="vtable">
- <input name="radiusissueips" value="yes" type="checkbox" class="formfld" id="radiusissueips"<?php if(isset($pconfig['radiusissueips'])) echo " checked=\"checked\""; ?> />
- </td>
- </tr>
<tr>
<td width="22%" valign="top" class="vncell">WINS Server</td>
<td width="78%" valign="top" class="vtable">
@@ -411,27 +405,26 @@ function enable_change(enable_over) {
<br>
<input name="radiussecenable" type="checkbox" id="radiussecenable" onclick="enable_change(false)" value="yes" <?php if ($pconfig['radiussecenable']) echo "checked"; ?>>
<strong>Secondary RADIUS server for failover authentication</strong><br>
- When set, all requests will go to the secondary server when primary fails</td>
+ When set, all requests will go to the secondary server when primary fails<br>
+ <br>
+ <input name="radiusissueips" value="yes" type="checkbox" class="formfld" id="radiusissueips"<?php if($pconfig['radiusissueips']) echo " CHECKED"; ?>>
+ <strong>RADIUS issued IPs</strong>
+ <br>Issue IP addresses via RADIUS server.
+ </td>
+ </td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">RADIUS NAS IP</td>
<td width="78%" valign="top" class="vtable">
<input name="radius_nasip" class="formfld unknown" id="radius_nasip" size="20" value="<?=htmlspecialchars($pconfig['radius_nasip']);?>">
</td>
- </tr>
+ </tr>
<tr>
<td width="22%" valign="top" class="vncell">RADIUS Accounting Update</td>
<td width="78%" valign="top" class="vtable">
<input name="radius_acct_update" class="formfld unknown" id="radius_acct_update" size="20" value="<?=htmlspecialchars($pconfig['radius_acct_update']);?>">
</td>
- </tr>
- <tr>
- <td width="22%" valign="top" class="vncell">RADIUS issued IPs</td>
- <td width="78%" valign="top" class="vtable">
- <input name="radiusissueips" value="yes" type="checkbox" class="formfld" id="radiusissueips"<?php if($pconfig['radiusissueips']) echo " CHECKED"; ?>>
- <br>Issue IP addresses via RADIUS server.
- </td>
- </tr>
+ </tr>
<tr>
<td width="22%" valign="top" class="vncell">RADIUS Server </td>
<td width="78%" class="vtable">
OpenPOWER on IntegriCloud