summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pptp.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-12-22 16:29:36 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-12-22 16:29:36 -0500
commit3cfa11c259d140d6a2c43d11e7ba809eb7ff08bc (patch)
treec72e0401c10be0a0d070e3abb353c9eea270550f /usr/local/www/vpn_pptp.php
parentaab4ca82f485d1ca2f628c5674cd648b87104352 (diff)
downloadpfsense-3cfa11c259d140d6a2c43d11e7ba809eb7ff08bc.zip
pfsense-3cfa11c259d140d6a2c43d11e7ba809eb7ff08bc.tar.gz
Unbreak remote-ip box. Mpd is now starting for ppptp server
Diffstat (limited to 'usr/local/www/vpn_pptp.php')
-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