diff options
author | Neale Ranns <nranns@cisco.com> | 2020-02-20 13:16:49 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-08-12 23:23:28 +0000 |
commit | b96c1c456963d73023111e7ff221ede3ba79c17d (patch) | |
tree | c3af7741cdd3fa03bfa0b008dba9073cc73bffe9 | |
parent | 08653d9d6cabe5053e2c9e199d96fbf7d6107c5f (diff) |
ipip: Unintialized return variable (coverity warning)
Type: fix
Change-Id: I008f23b5f0c7269ddd35cc747a867240fbe9c49b
Signed-off-by: Neale Ranns <nranns@cisco.com>
(cherry picked from commit d057625d499525625d60d2207665eaeb755e380e)
-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 d88047560a9..19f97b1dec5 100644 --- a/src/vnet/ipip/ipip_api.c +++ b/src/vnet/ipip/ipip_api.c @@ -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)); |