Skip to content
Snippets Groups Projects
Commit 2a5ca16a authored by Guillaume Valadon's avatar Guillaume Valadon
Browse files

DHCP Reply packet are now sent using the correct UDP port

--HG--
branch : Issue #839
parent 421c0420
No related branches found
No related tags found
No related merge requests found
...@@ -1055,6 +1055,8 @@ class DHCP6_Rebind(DHCP6): ...@@ -1055,6 +1055,8 @@ class DHCP6_Rebind(DHCP6):
class DHCP6_Reply(DHCP6): class DHCP6_Reply(DHCP6):
name = "DHCPv6 Reply Message" name = "DHCPv6 Reply Message"
msgtype = 7 msgtype = 7
overload_fields = { UDP: {"sport": 547, "dport": 546} }
def answers(self, other): def answers(self, other):
return (isinstance(other, DHCP6_InfoRequest) and return (isinstance(other, DHCP6_InfoRequest) and
......
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