mirror of
https://github.com/nmap/nmap.git
synced 2026-08-31 15:03:20 +00:00
Do not call NSE if compiling without Lua support. Close #3434
This commit is contained in:
parent
0ffa21e7bc
commit
4c36cf12f2
1 changed files with 2 additions and 0 deletions
2
nmap.cc
2
nmap.cc
|
|
@ -1858,7 +1858,9 @@ void nmap_free_mem() {
|
|||
AllProbes::service_scan_free();
|
||||
traceroute_hop_cache_clear();
|
||||
nsock_set_default_engine(NULL);
|
||||
#ifndef NOLUA
|
||||
close_nse();
|
||||
#endif
|
||||
}
|
||||
|
||||
int nmap_main(int argc, char *argv[]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue