mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 05:31:31 +00:00
Removed a superfluous nsock_set_proxychain() statement.
This call got duplicated during the merge and provoked non-fatal nsock errors like: NSOCK ERROR [0.0310s] nsp_set_proxychain(): Invalid call. Existing proxychain on this nsock_pool
This commit is contained in:
@@ -92,10 +92,6 @@ static nsock_pool new_pool (lua_State *L)
|
|||||||
|
|
||||||
nsp_setbroadcast(nsp, true);
|
nsp_setbroadcast(nsp, true);
|
||||||
|
|
||||||
if (o.proxy_chain) {
|
|
||||||
nsp_set_proxychain(nsp, o.proxy_chain);
|
|
||||||
}
|
|
||||||
|
|
||||||
nspp = (nsock_pool *) lua_newuserdata(L, sizeof(nsock_pool));
|
nspp = (nsock_pool *) lua_newuserdata(L, sizeof(nsock_pool));
|
||||||
*nspp = nsp;
|
*nspp = nsp;
|
||||||
lua_newtable(L);
|
lua_newtable(L);
|
||||||
|
|||||||
Reference in New Issue
Block a user