summaryrefslogtreecommitdiffstats
path: root/lib/network/netconnect.pm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-07-01 15:55:36 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-07-01 15:55:36 +0000
commitb2b8be0c74c67e7e28e3ff1398877d790d3a686a (patch)
treef824409d5275c8871ec50e7a338b4765dc33f693 /lib/network/netconnect.pm
parent6d031f95b0a76449283acd63eb91e46df50e42e1 (diff)
downloaddrakx-net-b2b8be0c74c67e7e28e3ff1398877d790d3a686a.tar
drakx-net-b2b8be0c74c67e7e28e3ff1398877d790d3a686a.tar.gz
drakx-net-b2b8be0c74c67e7e28e3ff1398877d790d3a686a.tar.bz2
drakx-net-b2b8be0c74c67e7e28e3ff1398877d790d3a686a.tar.xz
drakx-net-b2b8be0c74c67e7e28e3ff1398877d790d3a686a.zip
serial_ports was moved from mouse:: to detect_devices::
Diffstat (limited to 'lib/network/netconnect.pm')
-rw-r--r--lib/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm
index e12caa2..6a9e9eb 100644
--- a/lib/network/netconnect.pm
+++ b/lib/network/netconnect.pm
@@ -556,8 +556,8 @@ Take a look at http://www.linmodems.org"),
name => N("Please choose which serial port your modem is connected to."),
if_(!$::isInstall, interactive_help_id => 'selectSerialPort'),
data => sub {
- [ { val => \$modem->{device}, format => \&mouse::serial_port2text, type => "list",
- list => [ grep { $_ ne $mouse->{device} } (mouse::serial_ports(), glob_("/dev/ttyUSB*"), grep { -e $_ } '/dev/modem', '/dev/ttySL0', '/dev/ttyS14',) ] } ];
+ [ { val => \$modem->{device}, format => \&detect_devices::serialPort2text, type => "list",
+ list => [ grep { $_ ne $mouse->{device} } (detect_devices::serialPorts(), glob_("/dev/ttyUSB*"), grep { -e $_ } '/dev/modem', '/dev/ttySL0', '/dev/ttyS14',) ] } ];
},
post => sub {
return 'ppp_provider';