Skip to content

Commit

Permalink
Suggested patch for issue #1144
Browse files Browse the repository at this point in the history
Signed-off-by: Hakan Latth <haklat43@gmail.com>
  • Loading branch information
haklat43 committed Aug 22, 2024
1 parent ba4c895 commit aba3055
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def lookup (self, pkt):

# NA in response to our NS
if ICMPv6ND_NA in scapy_pkt:
return self.services.get((scapy_pkt[IPv6].dst, scapy_pkt[IPv6].src, tuple(vlans)), [] )
return self.services.get((scapy_pkt[IPv6].dst, scapy_pkt[ICMPv6ND_NA].tgt, tuple(vlans)), [] )

# NS from neighbor to verify ourselves
if ICMPv6ND_NS in scapy_pkt:
Expand Down

0 comments on commit aba3055

Please sign in to comment.