summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vlib/vlib/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vlib/vlib/main.c b/vlib/vlib/main.c
index 809abdf5538..eba2d4535e8 100644
--- a/vlib/vlib/main.c
+++ b/vlib/vlib/main.c
@@ -1146,6 +1146,7 @@ dispatch_pending_node (vlib_main_t * vm,
nf = vec_elt_at_index (nm->next_frames, p->next_frame_index);
nf->frame_index = restore_frame_index;
nf->flags |= VLIB_FRAME_IS_ALLOCATED;
+ f->n_vectors = 0;
}
if (f->flags & VLIB_FRAME_FREE_AFTER_DISPATCH)