1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-07 06:59:03 +00:00

Add a comment explaining why T1 appears in sendT1_7Probe, even though it

is normally represented by the first (of six) probes sent by
sendTSeqProbe.
This commit is contained in:
david
2011-06-15 21:02:21 +00:00
parent 010c8200e8
commit 78e5fc6ec8

View File

@@ -1345,6 +1345,9 @@ void HostOsScan::sendT1_7Probe(HostOsScanStats *hss, int probeNo) {
switch(probeNo) {
case 0: /* T1 */
/* T1 is normally filled in by sendTSeqProbe so this case doesn't happen. In
case all six Seq probes failed, this one will be re-sent. It is the same
as the first probe sent by sendTSeqProbe. */
if(hss->openTCPPort == -1) return;
send_tcp_probe(hss, o.ttl, false, NULL, 0,
port_base, hss->openTCPPort,