mirror of
https://github.com/nmap/nmap.git
synced 2025-12-22 23:49:03 +00:00
o [NSE] Added ipv6 support to the wsdd, dnssd and upnp libraries. Applied
patch from Dan Miller that fixes errors in processing and sorting ipv6 addresses in scripts using these libraries. [Daniel Miller, Patrik]
This commit is contained in:
@@ -1059,8 +1059,9 @@ function output_ips(t)
|
||||
end
|
||||
end
|
||||
|
||||
-- IPv6 - for now, no sorting.
|
||||
-- IPv6
|
||||
-- Rows are allowed to be 71 chars wide
|
||||
table.sort(t['6'], function(a,b) return ipOps.compare_ip(a, "lt", b) end)
|
||||
local i = 1
|
||||
local limit = #t['6']
|
||||
while i <= limit do
|
||||
|
||||
Reference in New Issue
Block a user