diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-01-20 11:49:38 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-01-20 11:49:38 +0100 |
commit | 15705bc0f9aaf8ed7673d69e597566c0a7c76f96 (patch) | |
tree | 8f7ee9c963d4329ca56506a90afadf747e39fc8b /usr | |
parent | d2619fa0fada68cc7b38f826b0d4b772a4eaf413 (diff) | |
download | pfsense-15705bc0f9aaf8ed7673d69e597566c0a7c76f96.zip pfsense-15705bc0f9aaf8ed7673d69e597566c0a7c76f96.tar.gz |
Enlarge subnet bits to 128
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 5 | ||||
-rwxr-xr-x | usr/local/www/system_routes_edit.php | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 83b444c..fe24ad8 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -837,7 +837,7 @@ include("head.inc"); <td> <input <?=$edit_disabled;?> autocomplete='off' name="src" type="text" class="formfldalias" id="src" size="20" value="<?php if (!is_specialnet($pconfig['src'])) echo htmlspecialchars($pconfig['src']);?>"> / <select <?=$edit_disabled;?> name="srcmask" class="formselect" id="srcmask"> -<?php for ($i = 31; $i > 0; $i--): ?> +<?php for ($i = 127; $i > 0; $i--): ?> <option value="<?=$i;?>" <?php if ($i == $pconfig['srcmask']) echo "selected"; ?>><?=$i;?></option> <?php endfor; ?> </select> @@ -932,7 +932,8 @@ include("head.inc"); / <select <?=$edit_disabled;?> name="dstmask" class="formselect" id="dstmask"> <?php - for ($i = 31; $i > 0; $i--): ?> + for ($i = 127; $i > 0; +$i--): ?> <option value="<?=$i;?>" <?php if ($i == $pconfig['dstmask']) echo "selected"; ?>><?=$i;?></option> <?php endfor; ?> </select> diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php index 3fb4fba..08deb77 100755 --- a/usr/local/www/system_routes_edit.php +++ b/usr/local/www/system_routes_edit.php @@ -173,7 +173,7 @@ include("head.inc"); <input name="network" type="text" class="formfld unknown" id="network" size="20" value="<?=htmlspecialchars($pconfig['network']);?>"> / <select name="network_subnet" class="formselect" id="network_subnet"> - <?php for ($i = 32; $i >= 1; $i--): ?> + <?php for ($i = 128; $i >= 1; $i--): ?> <option value="<?=$i;?>" <?php if ($i == $pconfig['network_subnet']) echo "selected"; ?>> <?=$i;?> </option> |