mirror of
https://github.com/nmap/nmap.git
synced 2026-09-21 15:46:45 +00:00
trivial: move a statement back closer to its context
This commit is contained in:
parent
4e46c99329
commit
10d23e924f
1 changed files with 2 additions and 2 deletions
|
|
@ -153,8 +153,6 @@ void set_hostinfo(lua_State *L, Target *currenths) {
|
|||
setnfield(L, -1, "timeout", (lua_Number) currenths->to.timeout / 1000000.0);
|
||||
lua_setfield(L, -2, "times");
|
||||
|
||||
FingerPrintResults *FPR = currenths->FPR;
|
||||
|
||||
/* add distance (in hops) if traceroute has been performed */
|
||||
if (currenths->traceroute_hops.size() > 0)
|
||||
{
|
||||
|
|
@ -181,6 +179,8 @@ void set_hostinfo(lua_State *L, Target *currenths) {
|
|||
lua_setfield(L, -2, "traceroute");
|
||||
}
|
||||
|
||||
FingerPrintResults *FPR = currenths->FPR;
|
||||
|
||||
/* if there has been an os scan which returned a pretty certain
|
||||
* result, we will use it in the scripts
|
||||
* matches which aren't perfect are not needed in the scripts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue