mirror of
https://github.com/nmap/nmap.git
synced 2026-06-20 23:53:35 +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:
parent
c6be484bdf
commit
86b0100dc3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue