summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1faec8cd3..cfa64d609 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -425,7 +425,7 @@ Take a look at http://www.linmodems.org"),
killall pppd
), $netcnx->{type});
$modem = $netcnx->{$netcnx->{type}};
- $modem->{device} = $first_modem->();
+ $modem->{device} = $first_modem->()->{device};
my %l = getVarsFromSh("$::prefix/usr/share/config/kppprc");
$modem->{connection} = $l{Name};
$modem->{domain} = $l{Domain};