mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 04:09:01 +00:00
Fixed a bug which prevented the --without-liblua compilation option from working. Thanks to Kris Katterjohn for the patch.
This commit is contained in:
@@ -1691,7 +1691,11 @@ void printfinaloutput() {
|
||||
gettimeofday(&tv, NULL);
|
||||
timep = time(NULL);
|
||||
|
||||
if (o.numhosts_scanned == 0 && o.scriptupdatedb == 0)
|
||||
if (o.numhosts_scanned == 0
|
||||
#ifndef NOLUA
|
||||
&& o.scriptupdatedb == 0
|
||||
#endif
|
||||
)
|
||||
fprintf(stderr, "WARNING: No targets were specified, so 0 hosts scanned.\n");
|
||||
if (o.numhosts_scanned == 1 && o.numhosts_up == 0 && !o.listscan &&
|
||||
o.pingtype != PINGTYPE_NONE)
|
||||
|
||||
Reference in New Issue
Block a user