aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-08-03 09:28:47 -0400
committerFlorin Coras <florin.coras@gmail.com>2018-08-03 15:42:45 +0000
commitb257fc9fc2558139ec315754e98a57cebb358ed4 (patch)
tree3cbbdd2cb2d150c31e568657cbfd6045ca41c5e1 /src/plugins
parent248ff9280abba7c705c2db47ad22d36f06e64bbc (diff)
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 <dave@barachs.net>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/avf/input.c2
1 files changed, 1 insertions, 1 deletions
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;