diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-13 21:53:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-13 21:53:34 +0000 |
commit | 05d3c4ad1edaaf9f30f31e64b16604a181524ef7 (patch) | |
tree | c614b35c6e4e32189b8d37445ffb70648d191e4a /etc/inc/pfsense-utils.inc | |
parent | d9fadeaa66da0489ddc0b5637ebfefc45bccf7ad (diff) | |
download | pfsense-05d3c4ad1edaaf9f30f31e64b16604a181524ef7.zip pfsense-05d3c4ad1edaaf9f30f31e64b16604a181524ef7.tar.gz |
Sort array first
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index a2919b3..eece62e 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -54,6 +54,7 @@ function get_dns_servers() { $dns_servers[] = $matches[1]; } $dns_server_master = array(); + sort($dns_servers); foreach($dns_servers as $t) { if($t <> $lastseen) if($t <> "") |