From 98859a41a4bbf3277da1e368b566916f5e39c982 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Ganne?= Date: Mon, 11 Apr 2022 10:45:43 +0200 Subject: [PATCH] teib: use nexthop table id MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use the specified nexthop table id instead of the interface table id. Type: fix Change-Id: I61bf61d50d2716fcd9a6e35df4d60222dc4f36d5 Signed-off-by: Benoît Ganne --- src/vnet/teib/teib.c | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.16.6