From 528681c04a0a254f91e35fc036be54a5a66023d7 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 8 Dec 2010 00:54:46 +0000 Subject: [PATCH] Take out "other" in "X other hosts had status Y" in http-vhosts.nse. It looks funny when it's the only line and I think it still looks fine this way when there are multiple lines. --- scripts/http-vhosts.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/http-vhosts.nse b/scripts/http-vhosts.nse index fd62ebd4f..f9c6d9499 100644 --- a/scripts/http-vhosts.nse +++ b/scripts/http-vhosts.nse @@ -499,7 +499,7 @@ local collapse = function(result) local limit = tonumber(stdnse.get_script_args("http-vhosts.collapse")) or 10 for code, group in next, result do if #group > limit then - collapsed[#collapsed + 1] = #group .. " other names had status " .. code + collapsed[#collapsed + 1] = #group .. " names had status " .. code else for _,name in ipairs(group) do collapsed[#collapsed + 1] = name