diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-13 18:06:57 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-13 18:06:57 +0000 |
commit | ff71d519501cde5c6ffdb59ed756f83424140c1d (patch) | |
tree | c9ceb4c1142f900c5156b9a5c54b562b97a21c66 | |
parent | 80ad09a47ed5bbf60fb53a3d44f61557382e16f6 (diff) | |
download | drakx-net-ff71d519501cde5c6ffdb59ed756f83424140c1d.tar drakx-net-ff71d519501cde5c6ffdb59ed756f83424140c1d.tar.gz drakx-net-ff71d519501cde5c6ffdb59ed756f83424140c1d.tar.bz2 drakx-net-ff71d519501cde5c6ffdb59ed756f83424140c1d.tar.xz drakx-net-ff71d519501cde5c6ffdb59ed756f83424140c1d.zip |
use connection type with lower metric first
-rwxr-xr-x | lib/network/netcenter.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 98fda14..615c0ea 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -55,7 +55,7 @@ sub main { $::main_window = $w->{real_window}; my @connections = map { $_->get_connections(automatic_only => 1) } network::connection::get_types; - @connections = reverse(uniq_ { $_->{device} } reverse(@connections)); + @connections = uniq_ { $_->{device} } @connections; my $pixbufs = network::connection_manager::create_pixbufs(); |