summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/modem.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 380567c46..faaee4e5b 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -223,7 +223,7 @@ sub ppp_choose {
interactive_help_id => 'selectSerialPort',
},
\&mouse::serial_port2text,
- [ grep { $_ ne $mouse->{device} } (mouse::serial_ports(), if_(-e '/dev/modem', '/dev/modem')) ]) || return;
+ [ grep { $_ ne $mouse->{device} } (if_(-e '/dev/modem', '/dev/modem'), mouse::serial_ports()) ]) || return;
my @cnx_list;
my $secret = network::tools::read_secret_backend();