nat: report time between current vpp time and last_heard 67/37267/17
authorDave Cornejo <dcornejo@netgate.com>
Wed, 28 Sep 2022 01:47:45 +0000 (01:47 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Tue, 11 Oct 2022 14:28:18 +0000 (14:28 +0000)
commit91246bc6a28ef6838c417d4a559208e9cc8cbb85
tree28bca1698e6946ae1e752375e9651d9d4ce8cd62
parent06923b33a9507ee6a92facb770650fff93d89dff
nat: report time between current vpp time and last_heard

existing details report the last_heard as the seconds since VPP
started, this is not very useful, so report additionaly
time_since_last_heard in seconds between VPP time and
last_heard.

Change-Id: Ifd34b1449e57919242b1f0e22156d3590af3c738
Type: improvement
Signed-off-by: Dave Cornejo <dcornejo@netgate.com>
Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com>
src/plugins/nat/nat44-ed/nat44_ed.api
src/plugins/nat/nat44-ed/nat44_ed_api.c
src/plugins/nat/nat44-ei/nat44_ei.api
src/plugins/nat/nat44-ei/nat44_ei_api.c