nat: fix per thread data vlib_main_t usage
[vpp.git] / src / plugins / nat / nat44_cli.c
index ad4c1c8..f613af0 100644 (file)
@@ -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;