1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Removed an errant '\n' that was causing blank lines

This commit is contained in:
ron
2010-11-03 19:50:25 +00:00
parent 93528b984c
commit c5a111c5b9

View File

@@ -134,7 +134,7 @@ action = function(host)
for i = 1, #names, 1 do for i = 1, #names, 1 do
local padding = string.rep(" ", 17 - string.len(names[i]['name'])) local padding = string.rep(" ", 17 - string.len(names[i]['name']))
local flags_str = netbios.flags_to_string(names[i]['flags']) local flags_str = netbios.flags_to_string(names[i]['flags'])
table.insert(names_output, string.format("%s<%02x>%sFlags: %s\n", names[i]['name'], names[i]['suffix'], padding, flags_str)) table.insert(names_output, string.format("%s<%02x>%sFlags: %s", names[i]['name'], names[i]['suffix'], padding, flags_str))
end end
table.insert(response, names_output) table.insert(response, names_output)