summaryrefslogtreecommitdiffstats
path: root/src/netparams.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/netparams.h')
-rw-r--r--src/netparams.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/netparams.h b/src/netparams.h
index c6a81b8..9cc0d28 100644
--- a/src/netparams.h
+++ b/src/netparams.h
@@ -43,7 +43,7 @@ public:
bool dhcp;
TQString ip;
- TQString nettqmask;
+ TQString netmask;
TQString broadcast;
TQString gateway;
TQString domain;
@@ -90,7 +90,7 @@ public:
TQString netParamsString()
{
TQStringList mNPS;
- mNPS << boolToString(hiddenEssid) << essid << ap << channel << boolToString(wep) << wepMode << wepKey << boolToString(dhcp) << ip << nettqmask << broadcast << gateway << domain << dns1 << dns2 << boolToString(wasHiddenEssid) << boolToString(wasWep) << \
+ mNPS << boolToString(hiddenEssid) << essid << ap << channel << boolToString(wep) << wepMode << wepKey << boolToString(dhcp) << ip << netmask << broadcast << gateway << domain << dns1 << dns2 << boolToString(wasHiddenEssid) << boolToString(wasWep) << \
preConnectionCommand << TQString::number(preConnectionTimeout) << boolToString(preConnectionDetached) << \
postConnectionCommand << TQString::number(postConnectionTimeout) << boolToString(postConnectionDetached) << \
preDisconnectionCommand << TQString::number(preDisconnectionTimeout) << boolToString(preDisconnectionDetached) << \
@@ -116,7 +116,7 @@ public:
wepKey = nps.section(",",6,6);
dhcp = ( nps.section(",",7,7) == "true" );
ip = nps.section(",",8,8);
- nettqmask = nps.section(",",9,9);
+ netmask = nps.section(",",9,9);
broadcast = nps.section(",",10,10);
gateway = nps.section(",",11,11);
domain = nps.section(",",12,12);
@@ -234,8 +234,8 @@ public:
} else if (action=="ifconfig_manual") {
mCmd << ifconfig << np.iface << np.ip;
- if (!np.nettqmask.isEmpty())
- mCmd << "nettqmask" << np.nettqmask;
+ if (!np.netmask.isEmpty())
+ mCmd << "netmask" << np.netmask;
if (!np.broadcast.isEmpty())
mCmd << "broadcast" << np.broadcast;