summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-23 09:31:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-23 09:31:38 +0000
commit5ed389cf6426eaf0d2d6892bfa67896ab8459705 (patch)
treec2fe8fe154a528737ef47362096ac7994b699e7b
parent5d718361ffbe80fcd6b88420d165d291adff908a (diff)
downloaddrakx-backup-do-not-use-5ed389cf6426eaf0d2d6892bfa67896ab8459705.tar
drakx-backup-do-not-use-5ed389cf6426eaf0d2d6892bfa67896ab8459705.tar.gz
drakx-backup-do-not-use-5ed389cf6426eaf0d2d6892bfa67896ab8459705.tar.bz2
drakx-backup-do-not-use-5ed389cf6426eaf0d2d6892bfa67896ab8459705.tar.xz
drakx-backup-do-not-use-5ed389cf6426eaf0d2d6892bfa67896ab8459705.zip
(adsl_conf_backend) speedtouch config need vpi/vci as decimal numbers
whereas sagem8xx wants hexa numbers
-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 ea75c7de5..6b0dfd505 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -105,7 +105,7 @@ sub adsl_conf_backend {
start => '/usr/sbin/modem_run -v 0 -f /usr/share/speedtouch/mgmt.o',
overide_script => 1,
server => {
- pppoa => qq("/usr/sbin/pppoa3 -e 1 -c -vpi $netc->{vpi} -vci $netc->{vci}"),
+ pppoa => '"/usr/sbin/pppoa3 -e 1 -c -vpi' . hex($netc->{vpi}) . " -vci " . hex($netc->{vci}) . '"',
},
ppp_options => qq(
sync