summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-06 11:24:25 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-06 11:24:25 +0000
commitdace3a8c6ff8c9b01677d3ba11a8571daea3b16a (patch)
tree2f427341f79f52db1f15ae3d2023e3e6a99421d9 /perl-install
parent5fdbde0aebb2708236e74ffc39d50b80d20a7b49 (diff)
downloaddrakx-dace3a8c6ff8c9b01677d3ba11a8571daea3b16a.tar
drakx-dace3a8c6ff8c9b01677d3ba11a8571daea3b16a.tar.gz
drakx-dace3a8c6ff8c9b01677d3ba11a8571daea3b16a.tar.bz2
drakx-dace3a8c6ff8c9b01677d3ba11a8571daea3b16a.tar.xz
drakx-dace3a8c6ff8c9b01677d3ba11a8571daea3b16a.zip
(ppp_read_conf) return modem configuration
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/modem.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 0ce904902..9cd9750ef 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -46,6 +46,8 @@ sub ppp_read_conf {
$modem->{auto_gateway} ||= defined $modem->{Gateway} && $modem->{Gateway} ne '0.0.0.0' ? N("Manual") : N("Automatic");
$modem->{auto_ip} ||= defined $modem->{IPAddr} && $modem->{IPAddr} ne '0.0.0.0' ? N("Manual") : N("Automatic");
$modem->{auto_dns} ||= $modem->{dns1} || $modem->{dns2} ? N("Manual") : N("Automatic");
+
+ $modem;
}
#-----modem conf