mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Add a comment to explain numIncompleteHostsLessThan.
This commit is contained in:
parent
3bd86146ac
commit
e35d0a0c23
1 changed files with 3 additions and 0 deletions
|
|
@ -1896,6 +1896,9 @@ HostScanStats *UltraScanInfo::findHost(struct sockaddr_storage *ss) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* Check if incompleteHosts list contains less than n elements. This function
|
||||
is here to replace numIncompleteHosts() < n, which would have to walk
|
||||
through the entire list. */
|
||||
bool UltraScanInfo::numIncompleteHostsLessThan(unsigned int n) {
|
||||
std::list<HostScanStats *>::iterator hostI;
|
||||
unsigned int count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue