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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmyfirewall/core/ipaddress.h b/kmyfirewall/core/ipaddress.h
index d80cd44..4252c7c 100644
--- a/kmyfirewall/core/ipaddress.h
+++ b/kmyfirewall/core/ipaddress.h
@@ -79,25 +79,25 @@ private:
// static stuff
public:
- /** Calculates the nettqmask from the tqmask length
+ /** Calculates the netmask from the mask length
e.g. 255.255.255.0 -> 24 */
static IPAddress& calcNetworkMaskFromLength( int maskLen );
- /** Calculates the given nettqmask length to the net tqmask.
+ /** Calculates the given netmask length to the net mask.
e.g. 24 -> 255.255.255.0 */
static int calcLenthToMask( IPAddress& );
- /** Returns true it the given adddress is a valid net tqmask */
+ /** Returns true it the given adddress is a valid net mask */
static bool isValidMask( IPAddress& );
- /** Returns true it the given adddress is a valid net tqmask */
+ /** Returns true it the given adddress is a valid net mask */
static bool isValidAddress( IPAddress& );
/** Checks if the the addresses are on the same network. */
static bool hostsOnSameNetwork( IPAddress&, IPAddress&, int maskLen );
/** Checks if the the addresses are on the same network. */
- static bool hostsOnSameNetwork( IPAddress&, IPAddress&, IPAddress& tqmask );
+ static bool hostsOnSameNetwork( IPAddress&, IPAddress&, IPAddress& mask );
private:
private: static int calcLenthToMaskDigit( int nMask, int *nextOne );