diff options
author | jim-p <jimp@pfsense.org> | 2014-05-08 11:21:48 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-05-08 11:21:48 -0400 |
commit | cac103c5680c7a7703441143c2eb350bf20e7c52 (patch) | |
tree | 7e0cf56891f26b9efb5e97c13209fca6efe186b9 | |
parent | 426cf164e79a3529620c086cd8fbc469b530aa38 (diff) | |
download | pfsense-cac103c5680c7a7703441143c2eb350bf20e7c52.zip pfsense-cac103c5680c7a7703441143c2eb350bf20e7c52.tar.gz |
Fix off-by-one in static route CIDR drop-down. /129 shouldn't be in the list
-rw-r--r-- | usr/local/www/system_routes_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php index 4c58d53..995c63c 100644 --- a/usr/local/www/system_routes_edit.php +++ b/usr/local/www/system_routes_edit.php @@ -228,7 +228,7 @@ include("head.inc"); <input name="network" type="text" class="formfldalias ipv4v6" id="network" size="20" value="<?=htmlspecialchars($pconfig['network']);?>" /> / <select name="network_subnet" class="formselect ipv4v6" id="network_subnet"> - <?php for ($i = 129; $i >= 1; $i--): ?> + <?php for ($i = 128; $i >= 1; $i--): ?> <option value="<?=$i;?>" <?php if ($i == $pconfig['network_subnet']) echo "selected=\"selected\""; ?>> <?=$i;?> </option> |