Skip to content
Snippets Groups Projects
Commit 19213cb1 authored by Phil's avatar Phil
Browse files

Fixed hopcount field type in DHCP6 (ticket #171)

parent e8f90976
No related branches found
No related tags found
No related merge requests found
...@@ -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),
ShortField("hopcount", None), ByteField("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
......
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