diff options
Diffstat (limited to 'lanbrowsing/lisa/netscanner.cpp')
-rw-r--r-- | lanbrowsing/lisa/netscanner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lanbrowsing/lisa/netscanner.cpp b/lanbrowsing/lisa/netscanner.cpp index ac8f512d..fd6a86bf 100644 --- a/lanbrowsing/lisa/netscanner.cpp +++ b/lanbrowsing/lisa/netscanner.cpp @@ -191,8 +191,8 @@ struct in_addr NetScanner::getIPfromArray(unsigned int index) { //mdcerr<<"net/tqmask combination detected"<<std::endl; MyString netStr(tmp.left(tmp.find("/"))); - MyString tqmaskStr(tmp.mid(tmp.find("/")+1)); - unsigned int tqmask(IPAddress(tqmaskStr).asInt()); + MyString maskStr(tmp.mid(tmp.find("/")+1)); + unsigned int tqmask(IPAddress(maskStr).asInt()); unsigned int net(IPAddress(netStr).asInt()&tqmask); if ((~tqmask)<indexLeft) { |