mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Count ND probes in UltraScan::numProbesPerHost.
Now it shows Scanning 2 hosts [1 port/host] instead of Scanning 2 hosts [0 ports/host]
This commit is contained in:
parent
f86f2dec67
commit
77d3994bc8
1 changed files with 2 additions and 0 deletions
|
|
@ -1687,6 +1687,8 @@ unsigned int UltraScanInfo::numProbesPerHost()
|
|||
numprobes = ports->prot_count;
|
||||
} else if (ping_scan_arp) {
|
||||
numprobes = 1;
|
||||
} else if (ping_scan_nd) {
|
||||
numprobes = 1;
|
||||
} else if (ping_scan) {
|
||||
numprobes = 0;
|
||||
if (ptech.rawtcpscan) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue