summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/vpn_pptp.php15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php
index 5dbe4d1..d0ba58e 100755
--- a/usr/local/www/vpn_pptp.php
+++ b/usr/local/www/vpn_pptp.php
@@ -100,7 +100,7 @@ if ($_POST) {
}
if (!$input_errors) {
- $_POST['remoteip'] = $pconfig['remoteip'] = gen_subnet($_POST['remoteip'], $_POST['pptp_subnet']);
+ $_POST['remoteip'] = gen_subnet($_POST['remoteip'], $_POST['pptp_subnet']);
$subnet_start = ip2long($_POST['remoteip']);
$subnet_end = ip2long($_POST['remoteip']) + $_POST['n_pptp_units'] - 1;
@@ -375,19 +375,6 @@ function enable_change(enable_over) {
for all clients.</td>
</tr>
<tr>
- <td width="22%" valign="top" class="vncellreq">Remote address
- range</td>
- <td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="remoteip" type="text" class="formfld" id="remoteip" size="20" value="<?=htmlspecialchars($pconfig['remoteip']);?>">
- /
- <?=$pconfig['pptp_subnet'];?>
- <br>
- Specify the starting address for the client IP address subnet.<br>
- The PPTP server will assign
- <?=$_POST['n_pptp_units'];?>
- addresses, starting at the address entered above, to clients.</td>
- </tr>
- <tr>
<td width="22%" valign="top" class="vncell">PPTP DNS Servers</td>
<td width="78%" class="vtable">
<?=$mandfldhtml;?><input name="pptp_dns1" type="text" class="formfld unknown" id="pptp_dns1" size="20" value="<?=htmlspecialchars($pconfig['pptp_dns1']);?>">
OpenPOWER on IntegriCloud