diff options
Diffstat (limited to 'src/plugins/nat/in2out_ed.c')
-rw-r--r-- | src/plugins/nat/in2out_ed.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/nat/in2out_ed.c b/src/plugins/nat/in2out_ed.c index 2d2be5c3812..f8cd89fb8de 100644 --- a/src/plugins/nat/in2out_ed.c +++ b/src/plugins/nat/in2out_ed.c @@ -29,6 +29,7 @@ #include <nat/nat_ipfix_logging.h> #include <nat/nat_reass.h> #include <nat/nat_inlines.h> +#include <nat/nat44_inlines.h> #include <nat/nat_syslog.h> #include <nat/nat_ha.h> @@ -210,6 +211,8 @@ slow_path_ed (snat_main_t * sm, }; nat44_is_idle_session_ctx_t ctx; + nat44_session_try_cleanup (&key->l_addr, rx_fib_index, thread_index, now); + if (PREDICT_FALSE (maximum_sessions_exceeded (sm, thread_index))) { b->error = node->errors[NAT_IN2OUT_ED_ERROR_MAX_SESSIONS_EXCEEDED]; |