summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pptp.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-14 11:34:47 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-14 11:34:47 +0000
commitc6933c6d2b18ab468c694a75fa23b1e7f00be362 (patch)
tree60063704c79e901dade6260883aef2320aac77f4 /usr/local/www/vpn_pptp.php
parent5b631e88ad492081b1f348886e6bfd8e240520ab (diff)
downloadpfsense-c6933c6d2b18ab468c694a75fa23b1e7f00be362.zip
pfsense-c6933c6d2b18ab468c694a75fa23b1e7f00be362.tar.gz
$g[pptp_subnet] is gone on 2.0. Ticket #139
Diffstat (limited to 'usr/local/www/vpn_pptp.php')
-rwxr-xr-xusr/local/www/vpn_pptp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php
index 60abec1..5dbe4d1 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'], $g['pptp_subnet']);
+ $_POST['remoteip'] = $pconfig['remoteip'] = gen_subnet($_POST['remoteip'], $_POST['pptp_subnet']);
$subnet_start = ip2long($_POST['remoteip']);
$subnet_end = ip2long($_POST['remoteip']) + $_POST['n_pptp_units'] - 1;
@@ -380,7 +380,7 @@ function enable_change(enable_over) {
<td width="78%" class="vtable">
<?=$mandfldhtml;?><input name="remoteip" type="text" class="formfld" id="remoteip" size="20" value="<?=htmlspecialchars($pconfig['remoteip']);?>">
/
- <?=$g['pptp_subnet'];?>
+ <?=$pconfig['pptp_subnet'];?>
<br>
Specify the starting address for the client IP address subnet.<br>
The PPTP server will assign
OpenPOWER on IntegriCloud