Skip to content

Commit

Permalink
Merge pull request #288 from hkwi/dhcpv6_relay_udp_port
Browse files Browse the repository at this point in the history
dhcp6: add DHCPv6-Relay default port
  • Loading branch information
guedou committed Sep 5, 2016
2 parents 93767ba + 255b68b commit a2e8bb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scapy/layers/dhcp6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,7 @@ class DHCP6_RelayForward(_DHCP6OptGuessPayload,Packet):
ByteField("hopcount", None),
IP6Field("linkaddr", "::"),
IP6Field("peeraddr", "::") ]
overload_fields = { UDP: { "sport": 547, "dport": 547 } }
def hashret(self): # we filter on peer address field
return inet_pton(socket.AF_INET6, self.peeraddr)

Expand Down

0 comments on commit a2e8bb5

Please sign in to comment.