Revision 1f6f0076
Added by Jim Pingle about 15 years ago
usr/local/www/vpn_pptp.php | ||
---|---|---|
328 | 328 |
<td width="78%" class="vtable"> |
329 | 329 |
<select id="n_pptp_units" name="n_pptp_units"> |
330 | 330 |
<?php |
331 |
for($x=0; $x<255; $x++) { |
|
332 |
if($x == $pconfig['n_pptp_units']) |
|
331 |
$toselect = ($pconfig['n_pptp_units'] > 0) ? $pconfig['n_pptp_units'] : 16; |
|
332 |
for($x=1; $x<255; $x++) { |
|
333 |
if($x == $toselect) |
|
333 | 334 |
$SELECTED = " SELECTED"; |
334 | 335 |
else |
335 | 336 |
$SELECTED = ""; |
Also available in: Unified diff
Do not allow "0" for PPTP users. Default to 16 clients.