From 2a5ca16a14cf8266070f64c2e951f89e66abaaff Mon Sep 17 00:00:00 2001 From: Guillaume Valadon <guillaume@valadon.net> Date: Sun, 16 Feb 2014 20:03:45 +0100 Subject: [PATCH] DHCP Reply packet are now sent using the correct UDP port --HG-- branch : Issue #839 --- scapy/layers/dhcp6.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scapy/layers/dhcp6.py b/scapy/layers/dhcp6.py index 71049506..e4cab8c8 100644 --- a/scapy/layers/dhcp6.py +++ b/scapy/layers/dhcp6.py @@ -1055,6 +1055,8 @@ class DHCP6_Rebind(DHCP6): class DHCP6_Reply(DHCP6): name = "DHCPv6 Reply Message" msgtype = 7 + + overload_fields = { UDP: {"sport": 547, "dport": 546} } def answers(self, other): return (isinstance(other, DHCP6_InfoRequest) and -- GitLab