From 78e5fc6ec8d6ef69c4cdfb0973aff79db829855b Mon Sep 17 00:00:00 2001 From: david Date: Wed, 15 Jun 2011 21:02:21 +0000 Subject: [PATCH] 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. --- osscan2.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osscan2.cc b/osscan2.cc index f0b92c2bb..1eb79c9bc 100644 --- a/osscan2.cc +++ b/osscan2.cc @@ -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,