Revision c6933c6d
Added by Ermal Luçi over 15 years ago
usr/local/www/vpn_pptp.php | ||
---|---|---|
100 | 100 |
} |
101 | 101 |
|
102 | 102 |
if (!$input_errors) { |
103 |
$_POST['remoteip'] = $pconfig['remoteip'] = gen_subnet($_POST['remoteip'], $g['pptp_subnet']);
|
|
103 |
$_POST['remoteip'] = $pconfig['remoteip'] = gen_subnet($_POST['remoteip'], $_POST['pptp_subnet']);
|
|
104 | 104 |
$subnet_start = ip2long($_POST['remoteip']); |
105 | 105 |
$subnet_end = ip2long($_POST['remoteip']) + $_POST['n_pptp_units'] - 1; |
106 | 106 |
|
... | ... | |
380 | 380 |
<td width="78%" class="vtable"> |
381 | 381 |
<?=$mandfldhtml;?><input name="remoteip" type="text" class="formfld" id="remoteip" size="20" value="<?=htmlspecialchars($pconfig['remoteip']);?>"> |
382 | 382 |
/ |
383 |
<?=$g['pptp_subnet'];?> |
|
383 |
<?=$pconfig['pptp_subnet'];?>
|
|
384 | 384 |
<br> |
385 | 385 |
Specify the starting address for the client IP address subnet.<br> |
386 | 386 |
The PPTP server will assign |
Also available in: Unified diff
$g[pptp_subnet] is gone on 2.0. Ticket #139