From: Dave Barach Date: Fri, 3 Aug 2018 13:28:47 +0000 (-0400) Subject: Fix typo in trace trajectory init X-Git-Tag: v18.10-rc1~491 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=b257fc9fc2558139ec315754e98a57cebb358ed4 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 --- 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;