From 0ef9cc7f83b00cba4262e6aa26c1f3cd4468a5be Mon Sep 17 00:00:00 2001 From: dmiller Date: Sat, 5 Aug 2017 20:49:53 +0000 Subject: [PATCH] Correct a comment: there has only been one target_needs_new_hostgroup since 2012 --- targets.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/targets.cc b/targets.cc index 0dd9db2a7..e86f815ae 100644 --- a/targets.cc +++ b/targets.cc @@ -307,9 +307,7 @@ static void massping(Target *hostbatch[], int num_hosts, struct scan_lists *port 2. it uses a different source address, or 3. it is directly connected when the other hosts are not, or vice versa, or 4. it has the same IP address as another target already in the group. - These restrictions only apply for raw scans. This function is similar to one - of the same name in nmap.cc. That one is for port scanning, this one is for - ping scanning. */ + These restrictions only apply for raw scans, including host discovery. */ bool target_needs_new_hostgroup(Target **targets, int targets_sz, const Target *target) { int i = 0;