diff options
author | Neale Ranns <nranns@cisco.com> | 2020-02-20 13:16:49 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-02-21 09:53:21 +0000 |
commit | d057625d499525625d60d2207665eaeb755e380e (patch) | |
tree | 80b26994e7cc57e8d2b1a11007ed12dfa177968e /src/vnet/ipip | |
parent | 39a233a0aa21c644c78ddd4ffa0ab3cdb1c10318 (diff) |
ipip: Unintialized return variable (coverity warning)
Type: fix
Change-Id: I008f23b5f0c7269ddd35cc747a867240fbe9c49b
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ipip')
-rw-r--r-- | src/vnet/ipip/ipip_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ipip/ipip_api.c b/src/vnet/ipip/ipip_api.c index 97fff156d35..98e3685ff93 100644 --- a/src/vnet/ipip/ipip_api.c +++ b/src/vnet/ipip/ipip_api.c @@ -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)); |