nat: nat44-ed add session timing out indicator in api 18/33618/4
authorAlexander Chernavin <achernavin@netgate.com>
Mon, 30 Aug 2021 08:55:27 +0000 (08:55 +0000)
committerOle Tr�an <otroan@employees.org>
Thu, 9 Sep 2021 16:29:49 +0000 (16:29 +0000)
commitf059a3452c285ec57a75c7b1ede5052244be4e5d
tree5e50e3adb81a32d145c11a20eaf5df744630feab
parent296f4a3056af8a0faeaa02e879801c552bddbacf
nat: nat44-ed add session timing out indicator in api

Type: improvement

Currently, NAT44-ED users sessions details are returned for both active
and timed out NAT sessions. It may confuse users that expect to see only
active sessions in the response and make them think that timeouts for
NAT sessions do not work.

With this change, introduce an indicator of timing out for NAT sessions
returned in NAT44-ED user session details.

Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: Ib81ed90369d4b495117538f521e5112e289cf7e6
src/plugins/nat/nat44-ed/nat44_ed.api
src/plugins/nat/nat44-ed/nat44_ed_api.c