diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2022-08-31 14:11:59 +0000 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2022-08-31 16:01:08 +0000 |
commit | 005ef97f80e2327e6f6e6383e9c6a197a0d8b1f8 (patch) | |
tree | e5e97eaf2d88eea88a91b83ebf86433e9d397f87 | |
parent | ab46a3c97364757d333119bbd5c48ea9beaebb70 (diff) |
nat: fix coverity 249194
Zero-initialize a variable.
Type: fix
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: Iccf2eb4bf26755d6cd93fc70df3c5481d69ce7eb
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed_in2out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed_in2out.c b/src/plugins/nat/nat44-ed/nat44_ed_in2out.c index 4eced06aa47..b0e0784373e 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_in2out.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_in2out.c @@ -1055,7 +1055,7 @@ nat44_ed_in2out_fast_path_node_fn_inline (vlib_main_t *vm, ip_protocol_t proto0; ip4_header_t *ip0; snat_session_t *s0 = 0; - clib_bihash_kv_16_8_t kv0, value0; + clib_bihash_kv_16_8_t kv0 = { 0 }, value0; nat_translation_error_e translation_error = NAT_ED_TRNSL_ERR_SUCCESS; nat_6t_flow_t *f = 0; nat_6t_t lookup; |