mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix undeclared type in Visual Studio. Fixes #220
This commit is contained in:
@@ -391,7 +391,7 @@ public:
|
|||||||
bool lookup(const sockaddr_storage & ip, std::string & name)
|
bool lookup(const sockaddr_storage & ip, std::string & name)
|
||||||
{
|
{
|
||||||
std::list<HostElem>::iterator hostI;
|
std::list<HostElem>::iterator hostI;
|
||||||
uint ip_hash = hash(ip);
|
u32 ip_hash = hash(ip);
|
||||||
for( hostI = hosts_storage[ip_hash].begin();
|
for( hostI = hosts_storage[ip_hash].begin();
|
||||||
hostI != hosts_storage[ip_hash].end();
|
hostI != hosts_storage[ip_hash].end();
|
||||||
++hostI)
|
++hostI)
|
||||||
|
|||||||
Reference in New Issue
Block a user