diff options
author | ahdj007 <dong.juan1@zte.com.cn> | 2018-03-06 15:46:54 +0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-03-06 15:17:59 +0000 |
commit | 9f06d0eccf06b82b42cc55f02c37cbed9e1aab83 (patch) | |
tree | ecc6c9fce894ec882d46184ac1a3b543ab9addca | |
parent | b5eb3b185fb04bfed3ba6c89323cd82e7d666bae (diff) |
reass frag_n should to be inited to 0
Change-Id: I8a4a7a85e86acbfe411e6dfa22e3976d7d4c903b
Signed-off-by: ahdj007 <dong.juan1@zte.com.cn>
-rwxr-xr-x[-rw-r--r--] | src/plugins/nat/nat_reass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/nat/nat_reass.c b/src/plugins/nat/nat_reass.c index 0a3660d9200..50bfced2b45 100644..100755 --- a/src/plugins/nat/nat_reass.c +++ b/src/plugins/nat/nat_reass.c @@ -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)) { |