From 11e70075fa032c6ebbfec9f1e8f4ef729c53bff7 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 26 Aug 2010 19:51:22 +0000 Subject: [PATCH] Revert r19975, wrong external. --- nse_nmaplib.cc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/nse_nmaplib.cc b/nse_nmaplib.cc index d0503720a..edba40cab 100644 --- a/nse_nmaplib.cc +++ b/nse_nmaplib.cc @@ -154,23 +154,6 @@ void set_hostinfo(lua_State *L, Target *currenths) { FingerPrintResults *FPR = currenths->FPR; - /* add distance (in hops) if traceroute has been performed */ - if (currenths->traceroute_hops.size() > 0) { - int i; - std::list::iterator it; - - lua_newtable(L); - - for (i=0, it=currenths->traceroute_hops.begin(); - it!=currenths->traceroute_hops.end(); i++, it++) { - - lua_pushstring(L, inet_ntop_ez(&(*it).addr, sizeof((*it).addr))); - lua_rawseti(L, -2, i+1); - } - lua_setfield(L, -2, "traceroute"); - } - - /* 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