From 0455431a00cb32c1f312437c71afa9290fc7e074 Mon Sep 17 00:00:00 2001 From: Artem Glazychev Date: Wed, 15 Sep 2021 19:35:51 +0700 Subject: 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 --- src/plugins/ping/ping.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/ping') 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); -- cgit 1.2.3-korg