summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-29 17:32:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-29 17:32:31 +0000
commit31c7da700fed24426b7f58ab197a07b5987eea6c (patch)
tree57e657693c275ec54d88667f6f831702188a7184 /perl-install/network/netconnect.pm
parent56e34e12c0ad2a60f5f41c67d635b07264799ab3 (diff)
downloaddrakx-31c7da700fed24426b7f58ab197a07b5987eea6c.tar
drakx-31c7da700fed24426b7f58ab197a07b5987eea6c.tar.gz
drakx-31c7da700fed24426b7f58ab197a07b5987eea6c.tar.bz2
drakx-31c7da700fed24426b7f58ab197a07b5987eea6c.tar.xz
drakx-31c7da700fed24426b7f58ab197a07b5987eea6c.zip
help cperl-mode parsing this file (drawback: perl_checker won't be
happy)
Diffstat (limited to 'perl-install/network/netconnect.pm')
-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 e8015d0b2..3e6ea445f 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -471,7 +471,7 @@ killall pppd
/.*ATDT(\d*)/ and $modem->{phone} ||= $1;
}
foreach (cat_("/etc/sysconfig/network-scripts/ifcfg-ppp0")) {
- /NAME=(['"]?)(.*)\1/ and $modem->{login} ||= $2;
+ /NAME=([\'\"]?)(.*)\1/ and $modem->{login} ||= $2;
}
$modem->{login} ||= $l{Username};
my $secret = network::tools::read_secret_backend();