1
0
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:
dmiller
2015-10-07 17:49:23 +00:00
parent 821d3ef2dd
commit ee1d6e4535

View File

@@ -391,7 +391,7 @@ public:
bool lookup(const sockaddr_storage & ip, std::string & name)
{
std::list<HostElem>::iterator hostI;
uint ip_hash = hash(ip);
u32 ip_hash = hash(ip);
for( hostI = hosts_storage[ip_hash].begin();
hostI != hosts_storage[ip_hash].end();
++hostI)