summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2017-05-05 04:57:16 -0700
committerMatus Fabian <matfabia@cisco.com>2017-05-05 04:57:16 -0700
commitb1291e259cb246632f91ce0bbc30273354918e93 (patch)
tree5b26fc3e2e96ed00df8d2bceb919614a462264a2 /src
parent406eb1df440ded950533780b2b7bbab10fc3da10 (diff)
ip6_to_ip4.h coverity fix
Change-Id: Ia11fa42d1f2b21a6195e7dc890f958830f83d3a7 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ip/ip6_to_ip4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip6_to_ip4.h b/src/vnet/ip/ip6_to_ip4.h
index f5d56883263..92f73ba165d 100644
--- a/src/vnet/ip/ip6_to_ip4.h
+++ b/src/vnet/ip/ip6_to_ip4.h
@@ -479,7 +479,7 @@ ip6_to_ip4_tcp_udp (vlib_buffer_t * p, ip6_to_ip4_set_fn_t fn, void *ctx,
{
ip6_header_t *ip6;
u16 *checksum;
- ip_csum_t csum;
+ ip_csum_t csum = 0;
ip4_header_t *ip4;
u16 fragment_id;
u16 flags;