summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-25 05:48:19 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-25 05:48:19 +0000
commitcec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a (patch)
tree4e38706a379ee2406fac01e8b3733dcafcf35aba
parente0fbcfe868b509f256fcdc239178d32f617bb129 (diff)
downloaddrakx-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.tar
drakx-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.tar.gz
drakx-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.tar.bz2
drakx-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.tar.xz
drakx-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.zip
add missing spaces
-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");
}