diff options
author | Artem Glazychev <artem.glazychev@xored.com> | 2021-09-15 19:35:51 +0700 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2021-09-22 16:59:10 +0000 |
commit | 0455431a00cb32c1f312437c71afa9290fc7e074 (patch) | |
tree | f9d846bea9676e6c3bb4c882f59aadad00e7cddf /src | |
parent | e619ada151548b7efc6bec00feea064e9d6cbcaf (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/ping/ping.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |