mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 19:32:18 +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:
parent
78e5fc6ec8
commit
1d7b0c0d98
6 changed files with 99 additions and 77 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue