diff options
author | Filip Varga <fivarga@cisco.com> | 2020-05-07 14:28:56 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-05-07 17:04:00 +0000 |
commit | 9bb09afb56b1aa787ca574cc732085272059fd5f (patch) | |
tree | 38a3051033c5ed864386969f710a07b89c224728 /src/plugins/nat/nat44_cli.c | |
parent | 5505ee8904fafc7c1f017f88853f80a616784cf2 (diff) |
nat: fix per thread data vlib_main_t usage
Type: fix
Change-Id: If6784c9eb278f525e05304d10fd1a00641faaaf0
Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat44_cli.c')
-rw-r--r-- | src/plugins/nat/nat44_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/nat44_cli.c b/src/plugins/nat/nat44_cli.c index ad4c1c8fdbd..f613af0733c 100644 --- a/src/plugins/nat/nat44_cli.c +++ b/src/plugins/nat/nat44_cli.c @@ -654,7 +654,7 @@ nat44_show_summary_command_fn (vlib_main_t * vm, unformat_input_t * input, u32 count = 0; - u64 now = vlib_time_now (sm->vlib_main); + u64 now = vlib_time_now (vm); u64 sess_timeout_time; u32 udp_sessions = 0; |