aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/cnat/cnat_session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cnat/cnat_session.c b/src/plugins/cnat/cnat_session.c
index a80e367c2cc..54554cedc8c 100644
--- a/src/plugins/cnat/cnat_session.c
+++ b/src/plugins/cnat/cnat_session.c
@@ -165,7 +165,7 @@ cnat_session_scan (vlib_main_t * vm, f64 start_time, int i)
if (alloc_arena (h) == 0)
return 0.0;
- for (i = 0; i < h->nbuckets; i++)
+ for ( /* caller saves starting point */ ; i < h->nbuckets; i++)
{
/* allow no more than 100us without a pause */
if ((vlib_time_now (vm) - start_time) > 10e-5)