From b257fc9fc2558139ec315754e98a57cebb358ed4 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 3 Aug 2018 09:28:47 -0400 Subject: [PATCH] Fix typo in trace trajectory init plugin won't compile if VLIB_BUFFER_TRACE_TRAJECTORY is set. The quad loop was OK, bug in single loop only. Change-Id: I11262bf6a223680eeac7ed23238ceda425a02c1b Signed-off-by: Dave Barach --- src/plugins/avf/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c index efec7234e2d..d11c3cfef64 100644 --- a/src/plugins/avf/input.c +++ b/src/plugins/avf/input.c @@ -304,7 +304,7 @@ avf_process_rx_burst (vlib_main_t * vm, vlib_node_runtime_t * node, clib_memcpy (vnet_buffer (b[0])->sw_if_index, vnet_buffer (bt)->sw_if_index, 2 * sizeof (u32)); - VLIB_BUFFER_TRACE_TRAJECTORY_INIT (b0); + VLIB_BUFFER_TRACE_TRAJECTORY_INIT (b[0]); /* next */ rxve += 1; -- 2.16.6