aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nsim/nsim_input.c
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2019-07-10 16:44:32 -0400
committerDave Barach <openvpp@barachs.net>2019-07-12 18:04:20 +0000
commitb966b96aa4ec125cea9dcd0b9f2d4268709f3896 (patch)
tree81d8857ba36db134697de4a90819e7fd8006be9e /src/plugins/nsim/nsim_input.c
parentedff805464a5d6893b892a9504f0a78ebf50c731 (diff)
nsim: cross-connect mode crash at interface output node
Type: fix Change-Id: If99c1d8a7ec97a726430a927eab0d3b57222af1f Signed-off-by: John Lo <loj@cisco.com>
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 =