diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-14 11:34:47 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-14 11:34:47 +0000 |
commit | c6933c6d2b18ab468c694a75fa23b1e7f00be362 (patch) | |
tree | 60063704c79e901dade6260883aef2320aac77f4 | |
parent | 5b631e88ad492081b1f348886e6bfd8e240520ab (diff) | |
download | pfsense-c6933c6d2b18ab468c694a75fa23b1e7f00be362.zip pfsense-c6933c6d2b18ab468c694a75fa23b1e7f00be362.tar.gz |
$g[pptp_subnet] is gone on 2.0. Ticket #139
-rwxr-xr-x | usr/local/www/vpn_pptp.php | 4 |
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 |