summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-26 13:17:32 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-26 13:17:32 +0000
commitf507cb06cbc57ea5a596aa9cb435f2960a1c6cd1 (patch)
tree1e05301405efbe27fec19593e059989581ef5877 /perl-install/network
parent54b66a533f65923fbb70a54db54381abe2597e8d (diff)
downloaddrakx-f507cb06cbc57ea5a596aa9cb435f2960a1c6cd1.tar
drakx-f507cb06cbc57ea5a596aa9cb435f2960a1c6cd1.tar.gz
drakx-f507cb06cbc57ea5a596aa9cb435f2960a1c6cd1.tar.bz2
drakx-f507cb06cbc57ea5a596aa9cb435f2960a1c6cd1.tar.xz
drakx-f507cb06cbc57ea5a596aa9cb435f2960a1c6cd1.zip
(adsl_probe_info) fix vpi, vci rereading (speedtouch conf write hexa...)
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 274391a63..807e57213 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -77,7 +77,7 @@ sub adsl_probe_info {
my $passwd = passwd_by_login($login);
if (!$netc->{vpi} && !$netc->{vpi} && member($adsl_modem, qw(eci speedtouch))) {
($netc->{vpi}, $netc->{vci}) =
- (map { if_(/^.*-vpi\s+(\d+)\s+-vci\s+(\d+)/, $1, $2) } cat_("$::prefix/etc/ppp/peers/adsl"));
+ (map { if_(/^.*-vpi\s+(\d+)\s+-vci\s+(\d+)/, map { sprintf("%x", $_) } $1, $2) } cat_("$::prefix/etc/ppp/peers/adsl"));
}
$pppoe_conf{DNS1} ||= '';
$pppoe_conf{DNS2} ||= '';