summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-19 17:52:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-19 17:52:17 +0000
commitbccac3d7c588e70adf140fc289a047587231b093 (patch)
treeaf25542c3267aba99a9d78ecfbb11b9624f32b5d
parenta6801e08e3d71ed91d46cc96063e14432bc57f38 (diff)
downloaddrakx-bccac3d7c588e70adf140fc289a047587231b093.tar
drakx-bccac3d7c588e70adf140fc289a047587231b093.tar.gz
drakx-bccac3d7c588e70adf140fc289a047587231b093.tar.bz2
drakx-bccac3d7c588e70adf140fc289a047587231b093.tar.xz
drakx-bccac3d7c588e70adf140fc289a047587231b093.zip
(detect) display a nice string for serial modems
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 8c354ee31..acd5e57ea 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -31,7 +31,7 @@ sub detect {
$auto_detect->{adsl} = network::adsl::adsl_detect();
},
modem => sub {
- $auto_detect->{modem} = { map { ($_->{device} || $_->{description}) => $_ } detect_devices::getModem() };
+ $auto_detect->{modem} = { map { ($_->{description} || "$_->{MANUFACTURER}|$_->{DESCRIPTION} ($_->{device})") => $_ } detect_devices::getModem() };
},
);
$l{$_}->() foreach ($o_class || (keys %l));