aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Peim <mpeim@cisco.com>2024-04-04 11:41:04 +0200
committerMaxime Peim <mpeim@cisco.com>2024-04-04 11:41:04 +0200
commit37d8c185b8902d9c69859160aee6e34ec72062fd (patch)
tree3189b49b400f558f3c20354030e9522d07c4eeb0
parent940a70fff474014b782e884882a85e290ff98494 (diff)
ip6: fix icmp trace flag copy
Type: fix Change-Id: I56c1a2717f197c889425449b37f51b0f2cc89ea5 Signed-off-by: Maxime Peim <mpeim@cisco.com>
-rw-r--r--src/vnet/ip/icmp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/icmp6.c b/src/vnet/ip/icmp6.c
index 087ee6b4719..b095f679cc8 100644
--- a/src/vnet/ip/icmp6.c
+++ b/src/vnet/ip/icmp6.c
@@ -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,