nat: nat44-ed add session timing out indicator in api (2) 20/33720/6
authorAlexander Chernavin <achernavin@netgate.com>
Mon, 30 Aug 2021 08:55:27 +0000 (08:55 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Wed, 29 Sep 2021 21:21:14 +0000 (21:21 +0000)
commitc7164827a951d924d07df7caae03096ea6b0d09a
tree23a796f70734637030efd15342456928fd0be223
parenta5504a47cf4b494bd17012380313ecdb9d7b2a74
nat: nat44-ed add session timing out indicator in api (2)

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: Ib4d689f77cec4b0b0cc8484019e13733cc8bdc0d
src/plugins/nat/nat44-ed/nat44_ed.api
src/plugins/nat/nat44-ed/nat44_ed_api.c