summaryrefslogtreecommitdiffstats
path: root/kppp/connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/connect.cpp')
-rw-r--r--kppp/connect.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kppp/connect.cpp b/kppp/connect.cpp
index b02da8db..ea755a3e 100644
--- a/kppp/connect.cpp
+++ b/kppp/connect.cpp
@@ -78,8 +78,8 @@ TQString old_hostname;
bool modified_hostname;
-ConnectWidget::ConnectWidget(TQWidget *tqparent, const char *name, PPPStats *st)
- : TQWidget(tqparent, name),
+ConnectWidget::ConnectWidget(TQWidget *parent, const char *name, PPPStats *st)
+ : TQWidget(parent, name),
// initialize some important variables
myreadbuffer(""),
main_timer_ID(0),
@@ -1271,8 +1271,8 @@ bool ConnectWidget::execppp() {
command += gpppdata.gateway();
}
- if(gpppdata.subnettqmask() != "0.0.0.0")
- command += " nettqmask " + gpppdata.subnettqmask();
+ if(gpppdata.subnetmask() != "0.0.0.0")
+ command += " netmask " + gpppdata.subnetmask();
// the english/i18n mix below is ugly but we want to keep working
// after someone changed the code to use i18n'ed config values