summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index fd41f3afe..b136dc208 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -278,9 +278,9 @@ sub get_internet_connection {
sub get_interface_type {
my ($interface) = @_;
+ member($interface->{TYPE}, "xDSL", "ADSL") && "adsl" ||
$interface->{DEVICE} =~ /^(eth|ath|wlan)/ && "ethernet" ||
$interface->{DEVICE} =~ /^ippp/ && "isdn" ||
- member($interface->{TYPE}, "xDSL", "ADSL") && "adsl" ||
$interface->{DEVICE} =~ /^ppp/ && "modem" ||
"unknown";
}