ip6: fix icmp trace flag copy 53/40653/1
authorMaxime Peim <mpeim@cisco.com>
Thu, 4 Apr 2024 09:41:04 +0000 (11:41 +0200)
committerMaxime Peim <mpeim@cisco.com>
Thu, 4 Apr 2024 09:41:04 +0000 (11:41 +0200)
Type: fix
Change-Id: I56c1a2717f197c889425449b37f51b0f2cc89ea5
Signed-off-by: Maxime Peim <mpeim@cisco.com>
src/vnet/ip/icmp6.c

index 087ee6b..b095f67 100644 (file)
@@ -357,7 +357,7 @@ ip6_icmp_error (vlib_main_t * vm,
 
          sw_if_index0 = vnet_buffer (p0)->sw_if_index[VLIB_RX];
 
-         vlib_buffer_copy_trace_flag (vm, p0, pi0);
+         vlib_buffer_copy_trace_flag (vm, org_p0, pi0);
 
          /* Add IP header and ICMPv6 header including a 4 byte data field */
          vlib_buffer_advance (p0,