ipip: Unintialized return variable (coverity warning)

Type: fix

Change-Id: I008f23b5f0c7269ddd35cc747a867240fbe9c49b
Signed-off-by: Neale Ranns <nranns@cisco.com>
(cherry picked from commit d057625d499525625d60d2207665eaeb755e380e)
This commit is contained in:
Neale Ranns 2020-02-20 13:16:49 +00:00 committed by Dave Wallace
parent 08653d9d6c
commit b96c1c4569

View File

@ -170,6 +170,7 @@ vl_api_ipip_6rd_add_tunnel_t_handler (vl_api_ipip_6rd_add_tunnel_t * mp)
u32 sixrd_tunnel_index, ip4_fib_index, ip6_fib_index;
int rv;
sixrd_tunnel_index = ~0;
ip4_fib_index = fib_table_find (FIB_PROTOCOL_IP4, ntohl (mp->ip4_table_id));
ip6_fib_index = fib_table_find (FIB_PROTOCOL_IP6, ntohl (mp->ip6_table_id));