summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/gprs/GPRS_NNI.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/gprs/GPRS_NNI.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp b/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp
index 2f61cba..bf8cc59 100644
--- a/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp
+++ b/noncore/settings/networksettings2/gprs/GPRS_NNI.cpp
@@ -124,3 +124,3 @@ short AGPRSDevice::generateFile( SystemFile & SF,
SF << "connect \"/usr/sbin/chat -s -v -f /etc/chatscripts/"
- << removeSpaces( connection()->name() )
+ << removeSpaces( networkSetup()->name() )
<< "\""
@@ -137,3 +137,3 @@ short AGPRSDevice::generateFile( SystemFile & SF,
SF << "logfile /tmp/"
- << removeSpaces( connection()->name() )
+ << removeSpaces( networkSetup()->name() )
<< oendl;
@@ -148,5 +148,5 @@ short AGPRSDevice::generateFile( SystemFile & SF,
SF << "usepeerdns" << oendl;
- SF << "linkname " << removeSpaces( connection()->name() ) << oendl;
+ SF << "linkname " << removeSpaces( networkSetup()->name() ) << oendl;
SF << "nopersist" << oendl;
- SF << "ipparam " << removeSpaces( connection()->name() ) <<oendl;
+ SF << "ipparam " << removeSpaces( networkSetup()->name() ) <<oendl;
SF << "maxfail 1" << oendl;
@@ -194,3 +194,3 @@ short AGPRSDevice::generateFile( SystemFile & SF,
<< " # profile "
- << removeSpaces( connection()->name() )
+ << removeSpaces( networkSetup()->name() )
<<oendl;
@@ -202,3 +202,3 @@ short AGPRSDevice::generateFile( SystemFile & SF,
<< " # profile "
- << removeSpaces( connection()->name() )
+ << removeSpaces( networkSetup()->name() )
<<oendl;
@@ -213,3 +213,3 @@ bool AGPRSDevice::openFile( SystemFile & SF ) {
QString( "/etc/ppp/peers/" ) +
- removeSpaces( connection()->name() )
+ removeSpaces( networkSetup()->name() )
);
@@ -219,3 +219,3 @@ bool AGPRSDevice::openFile( SystemFile & SF ) {
QString( "/etc/chatscripts/" ) +
- removeSpaces( connection()->name() )
+ removeSpaces( networkSetup()->name() )
);
@@ -225,3 +225,3 @@ bool AGPRSDevice::openFile( SystemFile & SF ) {
QString( "/etc/ppp/" ) +
- removeSpaces( connection()->name() ) + ".fixed"
+ removeSpaces( networkSetup()->name() ) + ".fixed"
);