diff --git a/scripts/automation/trex_control_plane/interactive/trex/common/services/trex_service_IPv6ND.py b/scripts/automation/trex_control_plane/interactive/trex/common/services/trex_service_IPv6ND.py index 8f6e8b618f..506b48122e 100644 --- a/scripts/automation/trex_control_plane/interactive/trex/common/services/trex_service_IPv6ND.py +++ b/scripts/automation/trex_control_plane/interactive/trex/common/services/trex_service_IPv6ND.py @@ -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: