1
0
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:
fyodor
2007-01-03 20:46:14 +00:00
parent 47036bc063
commit 84340f5737
3 changed files with 16 additions and 1 deletions

View File

@@ -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)