diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-03-11 03:35:55 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-03-11 03:53:28 +0100 |
commit | 754d81a5fb83477f8563e40099e53e5b71bee3a9 (patch) | |
tree | 3e47279f7e333bab266cb2530013afb9b7cf36d2 /usr/local/www/status_gateway_groups.php | |
parent | 16654db500a033fa812fe7f9f3459b00af46842a (diff) | |
download | pfsense-754d81a5fb83477f8563e40099e53e5b71bee3a9.zip pfsense-754d81a5fb83477f8563e40099e53e5b71bee3a9.tar.gz |
Fix the status page ordering so that it uses the correct tier order
Diffstat (limited to 'usr/local/www/status_gateway_groups.php')
-rwxr-xr-x | usr/local/www/status_gateway_groups.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_gateway_groups.php b/usr/local/www/status_gateway_groups.php index 5ed5b52..3a8d06b 100755 --- a/usr/local/www/status_gateway_groups.php +++ b/usr/local/www/status_gateway_groups.php @@ -91,6 +91,7 @@ include("head.inc"); $priorities[$itemsplit[1]] = true; } $priority_count = count($priorities); + ksort($priorities); echo "<tr>"; foreach($priorities as $number => $tier) { @@ -104,8 +105,7 @@ include("head.inc"); $itemsplit = explode("|", $item); $priority_arr[$itemsplit[1]][] = $itemsplit[0]; } - - // echo print_r($priority_arr, true); + ksort($priority_arr); $p = 1; foreach($priority_arr as $number => $tier) { /* for each priority process the gateways */ |