diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-12-22 16:29:36 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-12-22 16:29:36 -0500 |
commit | 3cfa11c259d140d6a2c43d11e7ba809eb7ff08bc (patch) | |
tree | c72e0401c10be0a0d070e3abb353c9eea270550f | |
parent | aab4ca82f485d1ca2f628c5674cd648b87104352 (diff) | |
download | pfsense-3cfa11c259d140d6a2c43d11e7ba809eb7ff08bc.zip pfsense-3cfa11c259d140d6a2c43d11e7ba809eb7ff08bc.tar.gz |
Unbreak remote-ip box. Mpd is now starting for ppptp server
-rw-r--r-- | etc/inc/upgrade_config.inc | 2 | ||||
-rwxr-xr-x | usr/local/www/vpn_pptp.php | 15 |
2 files changed, 3 insertions, 14 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 0a8cf45..586bc34 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -1833,4 +1833,6 @@ function upgrade_059_to_060() { } } + + ?> 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']);?>"> |