summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index d8c30cb90..9edea2c3c 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -408,6 +408,9 @@ Take a look at http://www.linmodems.org"),
choose_serial_port =>
{
+ pre => sub {
+ $modem ||= $netcnx->{modem} ||= {};;
+ },
name => N("Please choose which serial port your modem is connected to."),
interactive_help_id => 'selectSerialPort',
data => sub {