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 <artem.glazychev@xored.com>
Change-Id: I993cf80296e1713b4f13fc6ccdf49ebeaf295467
This commit is contained in:
Artem Glazychev
2021-09-15 19:35:51 +07:00
committed by Andrew Yourtchenko
parent e619ada151
commit 0455431a00

View File

@@ -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);