summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/core/ipaddress.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmyfirewall/core/ipaddress.h')
-rw-r--r--kmyfirewall/core/ipaddress.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmyfirewall/core/ipaddress.h b/kmyfirewall/core/ipaddress.h
index 9bf8b2c..d80cd44 100644
--- a/kmyfirewall/core/ipaddress.h
+++ b/kmyfirewall/core/ipaddress.h
@@ -81,7 +81,7 @@ private:
public:
/** Calculates the nettqmask from the tqmask length
e.g. 255.255.255.0 -> 24 */
- static IPAddress& calcNetworkMaskFromLength( int tqmaskLen );
+ static IPAddress& calcNetworkMaskFromLength( int maskLen );
/** Calculates the given nettqmask length to the net tqmask.
e.g. 24 -> 255.255.255.0 */
@@ -94,7 +94,7 @@ public:
static bool isValidAddress( IPAddress& );
/** Checks if the the addresses are on the same network. */
- static bool hostsOnSameNetwork( IPAddress&, IPAddress&, int tqmaskLen );
+ static bool hostsOnSameNetwork( IPAddress&, IPAddress&, int maskLen );
/** Checks if the the addresses are on the same network. */
static bool hostsOnSameNetwork( IPAddress&, IPAddress&, IPAddress& tqmask );