Output fix

This commit is contained in:
gorjan 2011-08-22 13:48:44 +00:00
parent 2ccaad4b8d
commit f46a8eb2de

View file

@ -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