1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Silence warnings about the new any_af request option

This commit is contained in:
dmiller
2016-03-16 05:47:57 +00:00
parent c7892e365f
commit ee481851f5

View File

@@ -348,7 +348,7 @@ local function validate_options(options)
end
elseif (key == 'ntlmauth') then
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
stdnse.debug1("http: options.bypass_cache, options.no_cache, and options.no_cache_body must be boolean values")
bad = true