From: Dmitry Valter Date: Thu, 1 Sep 2022 13:59:26 +0000 (+0000) Subject: fib: fix vectorized impl buffer typo X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=5f22f7d11cc5af47c3d1188f0c890532fc1ed98d fib: fix vectorized impl buffer typo Fix copy-paste typo with an incorrect index. Type: fix Signed-off-by: Dmitry Valter Change-Id: I463e6f016df9cd24e96defcd30c1b442b8809416 --- diff --git a/src/vnet/mfib/mfib_forward.c b/src/vnet/mfib/mfib_forward.c index affedb0ef00..3befce041bb 100644 --- a/src/vnet/mfib/mfib_forward.c +++ b/src/vnet/mfib/mfib_forward.c @@ -74,7 +74,7 @@ mfib_forward_lookup_trace (vlib_main_t * vm, t0 = vlib_add_trace (vm, node, b0, sizeof (t0[0])); t0->entry_index = vnet_buffer (b0)->ip.adj_index[VLIB_TX]; t0->fib_index = vec_elt (im->mfib_index_by_sw_if_index, - vnet_buffer(b1)->sw_if_index[VLIB_RX]); + vnet_buffer(b0)->sw_if_index[VLIB_RX]); } if (b1->flags & VLIB_BUFFER_IS_TRACED) {