From 92d5d7e8125977e45caa462e4c9f0942645079e7 Mon Sep 17 00:00:00 2001 From: patrik Date: Mon, 9 Apr 2012 09:56:52 +0000 Subject: [PATCH] Added support for MLDv2 packets --- scripts/targets-ipv6-multicast-mld.nse | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/targets-ipv6-multicast-mld.nse b/scripts/targets-ipv6-multicast-mld.nse index 23bc5c781..e8ab58fda 100644 --- a/scripts/targets-ipv6-multicast-mld.nse +++ b/scripts/targets-ipv6-multicast-mld.nse @@ -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