diff options
author | Damjan Marion <damarion@cisco.com> | 2019-02-19 08:55:18 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-02-19 10:58:10 +0000 |
commit | 34e823ff9d17948d89db457ec8763a2a3b398adc (patch) | |
tree | 52eb372b8f893978ac6c25e9d039d35b92e34e45 /src/vnet/ip | |
parent | 7752cb6f0d2e05eb2d38238cf51c2647afd4915e (diff) |
ip6-local: fix uninitialized variable error
Change-Id: I245a8cc8f237242efadcf10d47b76222a6497e89
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/ip')
-rw-r--r-- | src/vnet/ip/ip6_forward.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip6_forward.c b/src/vnet/ip/ip6_forward.c index bef2234976d..8e96647f995 100644 --- a/src/vnet/ip/ip6_forward.c +++ b/src/vnet/ip/ip6_forward.c @@ -1158,7 +1158,7 @@ ip6_local_inline (vlib_main_t * vm, vlib_node_runtime_t * node, VNET_BUFFER_F_OFFLOAD_TCP_CKSUM | VNET_BUFFER_F_OFFLOAD_UDP_CKSUM); - u32 udp_offset[2]; + u32 udp_offset[2] = { }; u8 is_tcp_udp[2]; is_tcp_udp[0] = ip6_next_proto_is_tcp_udp (b[0], ip[0], &udp_offset[0]); |