summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/network/netcenter.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 025b145..ad86ec7 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -41,10 +41,10 @@ sub main {
my $wait = $in->wait_message(N("Please wait"), N("Please wait"));
my @all_connections = map { $_->get_connections(automatic_only => 1, fast_only => 1) } network::connection::get_types;
- my ($intf, $no_intf) = partition { exists $_->{device}{interface} } @all_connections;
+ my ($sysfs, $no_sysfs) = partition { exists $_->{device}{sysfs_device} } @all_connections;
my @connections = (
- (uniq_ { $_->{device} } @$no_intf),
- (uniq_ { $_->{device}{interface} } @$intf)
+ (uniq_ { $_->{device}{sysfs_device} } @$sysfs),
+ (uniq_ { $_->{device}{interface} } @$no_sysfs)
);
my $pixbufs = network::connection_manager::create_pixbufs();