aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlement Sekera <klement.sekera@gmail.com>2022-11-14 11:29:17 +0100
committerDamjan Marion <dmarion@0xa5.net>2022-12-02 13:46:41 +0000
commit5163d5981068e49cb26616da6163136c9fafd969 (patch)
treee380dfa67bbfe99d5f94545d41784f8898deeaf8
parent7eba44d1ec54982636f830a4859027218ca56832 (diff)
vnet: fix trace flag copying in icmp4
Type: fix Signed-off-by: Klement Sekera <klement.sekera@gmail.com> Change-Id: I0a947b74e40499327910c1ed10923f7a869039d6
-rw-r--r--src/vnet/ip/icmp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/icmp4.c b/src/vnet/ip/icmp4.c
index 318081b9c9f..f91a1b5e320 100644
--- a/src/vnet/ip/icmp4.c
+++ b/src/vnet/ip/icmp4.c
@@ -318,7 +318,7 @@ ip4_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 ICMPv4 header including a 4 byte data field */
vlib_buffer_advance (p0,