diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-25 05:48:19 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-25 05:48:19 +0000 |
commit | cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a (patch) | |
tree | 4e38706a379ee2406fac01e8b3733dcafcf35aba /perl-install/network | |
parent | e0fbcfe868b509f256fcdc239178d32f617bb129 (diff) | |
download | drakx-backup-do-not-use-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.tar drakx-backup-do-not-use-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.tar.gz drakx-backup-do-not-use-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.tar.bz2 drakx-backup-do-not-use-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.tar.xz drakx-backup-do-not-use-cec9fd9a69aa91a6f3de3becfdfe7eb8eeff7e3a.zip |
add missing spaces
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/tools.pm | 4 |
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"); } |