From f46a8eb2de3d83b5a1af33c149315b2bf3488db5 Mon Sep 17 00:00:00 2001 From: gorjan Date: Mon, 22 Aug 2011 13:48:44 +0000 Subject: [PATCH] Output fix --- scripts/broadcast-ping.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/broadcast-ping.nse b/scripts/broadcast-ping.nse index 22e0952e8..6ea209800 100755 --- a/scripts/broadcast-ping.nse +++ b/scripts/broadcast-ping.nse @@ -261,7 +261,7 @@ action = function() if target.ALLOW_NEW_TARGETS then for ip_addr, mac_addr in pairs(icmp_responders) do target.add(ip_addr) - table.insert(output,ip_addr.." "..mac_addr) + table.insert(output,"IP: "..ip_addr..string.rep(" ",15-#ip_addr).." MAC: "..mac_addr) end else for ip_addr, mac_addr in pairs(icmp_responders) do