mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 22:19:03 +00:00
Make some change to make --without-liblua work again.
This commit is contained in:
@@ -462,9 +462,11 @@ void NmapOps::ValidateOptions() {
|
||||
if(ipoptions && osscan)
|
||||
error("WARNING: Ip options are NOT used while OS scanning!");
|
||||
|
||||
#ifndef NOLUA
|
||||
/* Make sure nmap.registry.args is available (even if it's empty) */
|
||||
if (!scriptargs)
|
||||
scriptargs = strdup("");
|
||||
#endif
|
||||
}
|
||||
|
||||
void NmapOps::setMaxOSTries(int mot) {
|
||||
|
||||
Reference in New Issue
Block a user