summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/ethernet.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index 95fd17e..da83097 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -23,9 +23,12 @@ sub get_devices() {
sub get_unlisted_devices {
my ($interfaces, $listed_devices) = @_;
my @unlisted_interfaces = sort(difference2($interfaces, [ map { device_to_interface($_) } @$listed_devices ]));
- map { interface_to_device($_) || +{
- description => network::tools::is_virtual_interface($_) ? N("Virtual interface") : $_,
- interface => $_ },
+ map {
+ interface_to_device($_) ||
+ +{
+ description => network::tools::is_virtual_interface($_) ? N("Virtual interface") : $_,
+ interface => $_
+ };
} @unlisted_interfaces;
}