From 97c5aa0f0c728fae6345159a9286f8ba80ace0d5 Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 28 Mar 2013 21:07:08 +0000 Subject: [PATCH] Return nil, not false, from firewall-bypass.nse --- scripts/firewall-bypass.nse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/firewall-bypass.nse b/scripts/firewall-bypass.nse index 8aa414074..90593ee5d 100644 --- a/scripts/firewall-bypass.nse +++ b/scripts/firewall-bypass.nse @@ -222,7 +222,7 @@ action = function(host, port) local status, _ = testsock:connect(host.ip, targetport) if status then stdnse.print_debug("%s %s target port already open.", SCRIPT_NAME, targetport) - return false + return nil end testsock:close() else @@ -257,7 +257,7 @@ action = function(host, port) end if not helpername then stdnse.print_debug("%s no suitable helper found.", SCRIPT_NAME) - return false + return nil end end