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:
@@ -134,7 +134,7 @@ action = function(host)
|
||||
for i = 1, #names, 1 do
|
||||
local padding = string.rep(" ", 17 - string.len(names[i]['name']))
|
||||
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
|
||||
|
||||
table.insert(response, names_output)
|
||||
|
||||
Reference in New Issue
Block a user