diff options
author | Benoît Ganne <bganne@cisco.com> | 2022-04-11 10:45:43 +0200 |
---|---|---|
committer | Benoît Ganne <bganne@cisco.com> | 2022-04-11 19:03:42 +0200 |
commit | 98859a41a4bbf3277da1e368b566916f5e39c982 (patch) | |
tree | 4365fb29be4437dee51f2d6ba63511fba7458792 | |
parent | f21710c6e240101f47d9de5557bbf46657710503 (diff) |
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 <bganne@cisco.com>
-rw-r--r-- | src/vnet/teib/teib.c | 3 |
1 files changed, 0 insertions, 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); |