From 8fdc015ddde7620d37d5a46cc66deb9791e634c1 Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Mon, 24 Sep 2018 04:41:28 -0700 Subject: NAT44: endpoint-dependent mode session timeout improvement (VPP-1423) Change-Id: I630f3da1ea4e6e50a50f1352c097becef1efe3c0 Signed-off-by: Matus Fabian --- src/plugins/nat/in2out_ed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/nat/in2out_ed.c') diff --git a/src/plugins/nat/in2out_ed.c b/src/plugins/nat/in2out_ed.c index d4f70f5a12b..77630268047 100644 --- a/src/plugins/nat/in2out_ed.c +++ b/src/plugins/nat/in2out_ed.c @@ -315,7 +315,7 @@ slow_path_ed (snat_main_t * sm, return NAT_IN2OUT_ED_NEXT_DROP; } - s = nat_ed_session_alloc (sm, u, thread_index); + s = nat_ed_session_alloc (sm, u, thread_index, now); if (!s) { nat44_delete_user_with_no_session (sm, u, thread_index); @@ -777,7 +777,7 @@ nat44_ed_in2out_unknown_proto (snat_main_t * sm, } create_ses: - s = nat_ed_session_alloc (sm, u, thread_index); + s = nat_ed_session_alloc (sm, u, thread_index, now); if (!s) { nat44_delete_user_with_no_session (sm, u, thread_index); -- cgit 1.2.3-korg