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
19213cb1
Commit
19213cb1
authored
16 years ago
by
Phil
Browse files
Options
Downloads
Patches
Plain Diff
Fixed hopcount field type in DHCP6 (ticket #171)
parent
e8f90976
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scapy/layers/dhcp6.py
+1
-1
1 addition, 1 deletion
scapy/layers/dhcp6.py
with
1 addition
and
1 deletion
scapy/layers/dhcp6.py
+
1
−
1
View file @
19213cb1
...
@@ -1146,7 +1146,7 @@ class DHCP6_InfoRequest(DHCP6):
...
@@ -1146,7 +1146,7 @@ class DHCP6_InfoRequest(DHCP6):
class
DHCP6_RelayForward
(
_DHCP6GuessPayload
,
Packet
):
class
DHCP6_RelayForward
(
_DHCP6GuessPayload
,
Packet
):
name
=
"
DHCPv6 Relay Forward Message (Relay Agent/Server Message)
"
name
=
"
DHCPv6 Relay Forward Message (Relay Agent/Server Message)
"
fields_desc
=
[
ByteEnumField
(
"
msgtype
"
,
12
,
dhcp6types
),
fields_desc
=
[
ByteEnumField
(
"
msgtype
"
,
12
,
dhcp6types
),
Short
Field
(
"
hopcount
"
,
None
),
Byte
Field
(
"
hopcount
"
,
None
),
IP6Field
(
"
linkaddr
"
,
"
::
"
),
IP6Field
(
"
linkaddr
"
,
"
::
"
),
IP6Field
(
"
peeraddr
"
,
"
::
"
)
]
IP6Field
(
"
peeraddr
"
,
"
::
"
)
]
def
hashret
(
self
):
# we filter on peer address field
def
hashret
(
self
):
# we filter on peer address field
...
...
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