nat: fix coverity warning

Type: fix

Change-Id: I0e87021b11009a955f5839bdb68af897145816c1
Signed-off-by: Klement Sekera <ksekera@cisco.com>
(cherry picked from commit c39c79c5aa7b5410f3aad4a770a741ab04f7dcc5)
This commit is contained in:
Klement Sekera
2020-06-04 12:41:43 +00:00
committed by Andrew Yourtchenko
parent a4a794d152
commit 77335de45a

View File

@ -94,7 +94,7 @@ snat_hairpinning (snat_main_t * sm,
tcp_header_t * tcp0, u32 proto0, int is_ed) tcp_header_t * tcp0, u32 proto0, int is_ed)
{ {
snat_session_key_t key0, sm0; snat_session_key_t key0, sm0;
snat_session_t *s0; snat_session_t *s0 = NULL;
clib_bihash_kv_8_8_t kv0, value0; clib_bihash_kv_8_8_t kv0, value0;
ip_csum_t sum0; ip_csum_t sum0;
u32 new_dst_addr0 = 0, old_dst_addr0, ti = 0, si; u32 new_dst_addr0 = 0, old_dst_addr0, ti = 0, si;