ipip: Unintialized return variable (coverity warning)

Type: fix

Change-Id: I008f23b5f0c7269ddd35cc747a867240fbe9c49b
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2020-02-20 13:16:49 +00:00
committed by Damjan Marion
parent 39a233a0aa
commit d057625d49

View File

@ -165,6 +165,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));