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

Fixed LLMNRQuery.hashret() (ticket #142)

parent cd1e0ba0
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ class LLMNRQuery(Packet):
DNSRRField("ar", "arcount",0)]
overload_fields = {UDP: {"sport": 5355, "dport": 5355 }}
def hashret(self):
return struct.pack("!H", id)
return struct.pack("!H", self.id)
class LLMNRResponse(LLMNRQuery):
name = "Link Local Multicast Node Resolution - Response"
......
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