aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nsim/nsim_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nsim/nsim_input.c')
-rw-r--r--src/plugins/nsim/nsim_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nsim/nsim_input.c b/src/plugins/nsim/nsim_input.c
index def6fcd9f26..3ce89bc9847 100644
--- a/src/plugins/nsim/nsim_input.c
+++ b/src/plugins/nsim/nsim_input.c
@@ -127,7 +127,7 @@ nsim_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
if (is_trace)
{
- b0 = vlib_get_buffer (vm, ep->buffer_index);
+ b0 = vlib_get_buffer (vm, bi0);
if (b0->flags & VLIB_BUFFER_IS_TRACED)
{
nsim_tx_trace_t *t =