From bbfb5dfed60d4e6cfbd538e09d338cc0b1c118ae Mon Sep 17 00:00:00 2001 From: nnposter Date: Thu, 16 Mar 2017 19:36:50 +0000 Subject: [PATCH] Corrects a debug message. Removes confusion about any_af. --- nselib/http.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/http.lua b/nselib/http.lua index e3eb4998f..f1945c7b9 100644 --- a/nselib/http.lua +++ b/nselib/http.lua @@ -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