1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 12:19:02 +00:00

Fix a bug I just introduced in tracerotue.cc: I moved a loop

initialization into the loop header but messed it up so the loop
variable wasn't initialized.
This commit is contained in:
david
2009-08-19 21:57:58 +00:00
parent c6be484bdf
commit 86b0100dc3

View File

@@ -543,7 +543,7 @@ Traceroute::sendTTLProbes(vector < Target * >&Targets, vector < Target * >&valid
TraceGroup *tg = NULL;
vector < Target * >::iterator it;
for (Targets.begin(); it != Targets.end(); ++it) {
for (it = Targets.begin(); it != Targets.end(); ++it) {
t = *it;
/* No point in tracing directly connected nodes */