summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/tools.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 50165f871..a789df850 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -287,8 +287,8 @@ sub test_internet_connection() {
sub get_interface_type {
my ($interface) = @_;
- $interface->{DEVICE} =~/^(eth|ath|wlan)/ && "ethernet" ||
- $interface->{DEVICE} =~/^ippp/ && "isdn" ||
+ $interface->{DEVICE} =~ /^(eth|ath|wlan)/ && "ethernet" ||
+ $interface->{DEVICE} =~ /^ippp/ && "isdn" ||
$interface->{DEVICE} =~ /^ppp/ && (member($interface->{TYPE}, "xDSL", "ADSL") ? "adsl" : "modem");
}