diff options
author | smos <seth.mos@dds.nl> | 2011-09-21 19:08:39 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2011-09-21 19:08:39 +0200 |
commit | eb26eb1cdf9c6f29face26fc32985a2b7ba2c3a3 (patch) | |
tree | 0f62746bacca9ca0cf0448143a6853a861ede91f /usr | |
parent | 2fdc826253202c2c093bd5f81cbba101d29bf25a (diff) | |
download | pfsense-eb26eb1cdf9c6f29face26fc32985a2b7ba2c3a3.zip pfsense-eb26eb1cdf9c6f29face26fc32985a2b7ba2c3a3.tar.gz |
Commit a fix that prevents the drop down from showing over 31 length.
Fixes Ticket #1892
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_routes_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php index f881aa3..2988aed 100755 --- a/usr/local/www/system_routes_edit.php +++ b/usr/local/www/system_routes_edit.php @@ -179,10 +179,10 @@ include("head.inc"); / <select name="network_subnet" class="formselect" id="network_subnet" <?php - if(is_ipaddrv6($pconfig['network'])) { - $size = 128; - } else { + if(is_ipaddrv64($pconfig['network'])) { $size = 32; + } else { + $size = 128; } for ($i = $size; $i >= 1; $i--): ?> <option value="<?=$i;?>" <?php if ($i == $pconfig['network_subnet']) echo "selected"; ?>> |