From aba3055a5e97a6af6fe8fe33c782a536d6749427 Mon Sep 17 00:00:00 2001 From: Hakan Latth Date: Thu, 22 Aug 2024 08:45:19 +0200 Subject: [PATCH] Suggested patch for issue #1144 Signed-off-by: Hakan Latth --- .../interactive/trex/common/services/trex_service_IPv6ND.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: