Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scapy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
scapy
Commits
763ea52e
Commit
763ea52e
authored
8 years ago
by
dawnworld
Browse files
Options
Downloads
Patches
Plain Diff
[IGMP V3] fix number of source address
parent
40045ea3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scapy/contrib/igmpv3.py
+2
-2
2 additions, 2 deletions
scapy/contrib/igmpv3.py
with
2 additions
and
2 deletions
scapy/contrib/igmpv3.py
+
2
−
2
View file @
763ea52e
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment