1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00

Corrects a debug message. Removes confusion about any_af.

This commit is contained in:
nnposter
2017-03-16 19:36:50 +00:00
parent e973ad72f5
commit bbfb5dfed6

View File

@@ -338,7 +338,7 @@ local function validate_options(options)
stdnse.debug1("Proceeding with ntlm message")
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")
stdnse.debug1("http: options.%s must be a boolean value", key)
bad = true
end
elseif(key == 'redirect_ok') then