Skip to content
Snippets Groups Projects
Commit 763ea52e authored by dawnworld's avatar dawnworld
Browse files

[IGMP V3] fix number of source address

parent 40045ea3
No related branches found
No related tags found
No related merge requests found
......@@ -47,9 +47,9 @@ class IGMPv3gr(Packet):
fields_desc = [ ByteEnumField("rtype", 1, igmpv3grtypes),
ByteField("auxdlen",0),
FieldLenField("numsrc", None, "srcaddrs"),
FieldLenField("numsrc", None, count_of="srcaddrs"),
IPField("maddr", "0.0.0.0"),
FieldListField("srcaddrs", None, IPField("sa", "0.0.0.0"), "numsrc") ]
FieldListField("srcaddrs", [], IPField("sa", "0.0.0.0"), "numsrc") ]
#show_indent=0
#--------------------------------------------------------------------------
def post_build(self, p, pay):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment