From: Artem Glazychev Date: Wed, 15 Sep 2021 12:35:51 +0000 (+0700) Subject: ping: set fib_index for lookup_node X-Git-Tag: v22.02-rc0~6 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=0455431a00cb32c1f312437c71afa9290fc7e074 ping: set fib_index for lookup_node lookup node uses this field later to set fib_index for buffer Type: fix Signed-off-by: Artem Glazychev Change-Id: I993cf80296e1713b4f13fc6ccdf49ebeaf295467 --- diff --git a/src/plugins/ping/ping.c b/src/plugins/ping/ping.c index 5973b484045..38cb5b82eb6 100644 --- a/src/plugins/ping/ping.c +++ b/src/plugins/ping/ping.c @@ -990,6 +990,7 @@ send_ip46_ping (vlib_main_t * vm, ERROR_OUT (SEND_PING_NO_INTERFACE); vnet_buffer (b0)->sw_if_index[VLIB_RX] = sw_if_index; + vnet_buffer (b0)->sw_if_index[VLIB_TX] = fib_index; int l4_header_offset = ip46_fill_l3_header (pa46, b0, is_ip6);