diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-08-16 16:13:40 +0200 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2021-09-13 13:54:59 +0000 |
commit | 7854b46f7789aae662f01fc29f4dd222a67bfe3d (patch) | |
tree | 607736025d42db84ac52558a08d18ba5431987b0 /src/vnet/mfib/ip6_mfib.c | |
parent | 006bbc4945bc7df58c3e631f5626acb2555aa171 (diff) |
interface: fix init fib_index_by_sw_if_index
Type: fix
The init of fib_index_by_sw_if_index wasn't
setting default value to 0. Which we now
need for setting interfaces unnumbered
Change-Id: Ie5be9b5e5373ef055557a871ad4d1c45fbfc1dee
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/mfib/ip6_mfib.c')
-rw-r--r-- | src/vnet/mfib/ip6_mfib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/mfib/ip6_mfib.c b/src/vnet/mfib/ip6_mfib.c index bbab7ae2214..37ae3776d89 100644 --- a/src/vnet/mfib/ip6_mfib.c +++ b/src/vnet/mfib/ip6_mfib.c @@ -246,7 +246,6 @@ ip6_mfib_interface_enable_disable (u32 sw_if_index, int is_enable) }; u32 mfib_index; - vec_validate (ip6_main.mfib_index_by_sw_if_index, sw_if_index); mfib_index = ip6_mfib_table_get_index_for_sw_if_index(sw_if_index); if (is_enable) |