summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/lisa/addressvalidator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lanbrowsing/lisa/addressvalidator.cpp')
-rw-r--r--lanbrowsing/lisa/addressvalidator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lanbrowsing/lisa/addressvalidator.cpp b/lanbrowsing/lisa/addressvalidator.cpp
index f4dab083..3ac8ccf0 100644
--- a/lanbrowsing/lisa/addressvalidator.cpp
+++ b/lanbrowsing/lisa/addressvalidator.cpp
@@ -114,8 +114,8 @@ void AddressValidator::setValidAddresses(MyString addressSpecs)
{
pos=nextPart.find('/');
MyString netStr=nextPart.left(pos);
- MyString tqmaskStr=nextPart.mid(pos+1);
- int tqmask=inet_addr(tqmaskStr.data());
+ MyString maskStr=nextPart.mid(pos+1);
+ int tqmask=inet_addr(maskStr.data());
int net= (inet_addr(netStr.data()) & tqmask);
dcerr<<"setValidAddresses: net/tqmask: "
<<std::ios::hex<<net<<"/"<<tqmask<<std::ios::dec<<std::endl;