mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Silence warnings about the new any_af request option
This commit is contained in:
@@ -348,7 +348,7 @@ local function validate_options(options)
|
|||||||
end
|
end
|
||||||
elseif (key == 'ntlmauth') then
|
elseif (key == 'ntlmauth') then
|
||||||
stdnse.debug1("Proceeding with ntlm message")
|
stdnse.debug1("Proceeding with ntlm message")
|
||||||
elseif(key == 'bypass_cache' or key == 'no_cache' or key == 'no_cache_body') then
|
elseif(key == 'bypass_cache' or key == 'no_cache' or key == 'no_cache_body' or key == 'any_af') then
|
||||||
if(type(value) ~= 'boolean') then
|
if(type(value) ~= 'boolean') then
|
||||||
stdnse.debug1("http: options.bypass_cache, options.no_cache, and options.no_cache_body must be boolean values")
|
stdnse.debug1("http: options.bypass_cache, options.no_cache, and options.no_cache_body must be boolean values")
|
||||||
bad = true
|
bad = true
|
||||||
|
|||||||
Reference in New Issue
Block a user