1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +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:
david
2011-08-30 23:55:12 +00:00
parent f86f2dec67
commit 77d3994bc8

View File

@@ -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) {