reass frag_n should to be inited to 0

Change-Id: I8a4a7a85e86acbfe411e6dfa22e3976d7d4c903b
Signed-off-by: ahdj007 <dong.juan1@zte.com.cn>
This commit is contained in:
ahdj007
2018-03-06 15:46:54 +08:00
committed by Damjan Marion
parent b5eb3b185f
commit 9f06d0eccf

1
src/plugins/nat/nat_reass.c Normal file → Executable file
View File

@@ -306,6 +306,7 @@ nat_ip4_reass_find_or_create (ip4_address_t src, ip4_address_t dst,
reass->sess_index = (u32) ~ 0;
reass->thread_index = (u32) ~ 0;
reass->last_heard = now;
reass->frag_n = 0;
if (clib_bihash_add_del_16_8 (&srm->ip4_reass_hash, &kv, 1))
{