diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-11-21 20:22:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-11-21 20:22:50 +0000 |
commit | 40dd6441eeb6b088a59d61b020be581ac9a7d3f4 (patch) | |
tree | d032ba6c82f53f1aabc79764c98e12565eacfba9 /usr/local/www/interfaces_wan.php | |
parent | 29868747c8a2598ae56fd3aaa03d1cd2be57ff6a (diff) | |
download | pfsense-40dd6441eeb6b088a59d61b020be581ac9a7d3f4.zip pfsense-40dd6441eeb6b088a59d61b020be581ac9a7d3f4.tar.gz |
Update to dropdowns to count to /32
Diffstat (limited to 'usr/local/www/interfaces_wan.php')
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index acf733c..076650d 100755 --- a/usr/local/www/interfaces_wan.php +++ b/usr/local/www/interfaces_wan.php @@ -464,7 +464,7 @@ function type_change(enable_change,enable_change_pptp) { <td class="vtable"> <input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>"> / <select name="subnet" class="formfld" id="subnet"> - <?php for ($i = 31; $i > 0; $i--): ?> + <?php for ($i = 32; $i > 0; $i--): ?> <option value="<?=$i;?>" <?php if ($i == $pconfig['subnet']) echo "selected"; ?>> <?=$i;?> </option> @@ -585,7 +585,7 @@ function type_change(enable_change,enable_change_pptp) { <td class="vtable"> <input name="pptp_local" type="text" class="formfld" id="pptp_local" size="20" value="<?=htmlspecialchars($pconfig['pptp_local']);?>"> / <select name="pptp_subnet" class="formfld" id="pptp_subnet"> - <?php for ($i = 31; $i > 0; $i--): ?> + <?php for ($i = 32; $i > 0; $i--): ?> <option value="<?=$i;?>" <?php if ($i == $pconfig['pptp_subnet']) echo "selected"; ?>> <?=$i;?> </option> |