Fix a bug in qscan.nse which kept a confidence level of 0.9995 from working;

Marcin Hoffmann reported the problem.
This commit is contained in:
kris 2010-06-05 00:46:48 +00:00
parent 8174849509
commit 3a0aa06db1
2 changed files with 5 additions and 1 deletions

View file

@ -283,7 +283,7 @@ local getopts = function()
if conf ~= 0.75 and conf ~= 0.9 and
conf ~= 0.95 and conf ~= 0.975 and
conf ~= 0.99 and conf ~= 0.995 and conf ~= 0.995 then
conf ~= 0.99 and conf ~= 0.995 and conf ~= 0.9995 then
bool = false
err = "Invalid confidence level"
end