1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 05:09:14 +00:00

Added support for MLDv2 packets

This commit is contained in:
patrik
2012-04-09 09:56:52 +00:00
parent 134d55890c
commit 92d5d7e812

View File

@@ -119,7 +119,8 @@ local function single_interface_broadcast(if_nfo, results)
if ( status ) then
local l2reply = packet.Frame:new(layer2)
local reply = packet.Packet:new(layer3, length, true)
if reply.ip6_nhdr == packet.MLD_LISTENER_REPORT then
if ( reply.ip6_nhdr == packet.MLD_LISTENER_REPORT or
reply.ip6_nhdr == packet.MLDV2_LISTENER_REPORT ) then
local target_str = reply.ip_src
if not results[target_str] then
if target.ALLOW_NEW_TARGETS then