summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_wan.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-21 20:22:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-21 20:22:50 +0000
commit40dd6441eeb6b088a59d61b020be581ac9a7d3f4 (patch)
treed032ba6c82f53f1aabc79764c98e12565eacfba9 /usr/local/www/interfaces_wan.php
parent29868747c8a2598ae56fd3aaa03d1cd2be57ff6a (diff)
downloadpfsense-40dd6441eeb6b088a59d61b020be581ac9a7d3f4.zip
pfsense-40dd6441eeb6b088a59d61b020be581ac9a7d3f4.tar.gz
Update to dropdowns to count to /32
Diffstat (limited to 'usr/local/www/interfaces_wan.php')
-rwxr-xr-xusr/local/www/interfaces_wan.php4
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>
OpenPOWER on IntegriCloud