From: Benoît Ganne Date: Mon, 11 Apr 2022 08:45:43 +0000 (+0200) Subject: teib: use nexthop table id X-Git-Tag: v22.10-rc0~101 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=98859a41a4bbf3277da1e368b566916f5e39c982;p=vpp.git teib: use nexthop table id Use the specified nexthop table id instead of the interface table id. Type: fix Change-Id: I61bf61d50d2716fcd9a6e35df4d60222dc4f36d5 Signed-off-by: Benoît Ganne --- diff --git a/src/vnet/teib/teib.c b/src/vnet/teib/teib.c index dc0c99b1dbe..2edb18c01e6 100644 --- a/src/vnet/teib/teib.c +++ b/src/vnet/teib/teib.c @@ -225,9 +225,6 @@ teib_entry_add (u32 sw_if_index, .tk_sw_if_index = sw_if_index, }; teib_entry_t *te; - u32 fib_index; - - fib_index = fib_table_get_index_for_sw_if_index (nh_proto, sw_if_index); pool_get_zero (teib_pool, te);