summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/pipe/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/devices/pipe/pipe.c')
-rw-r--r--src/vnet/devices/pipe/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/pipe/pipe.c b/src/vnet/devices/pipe/pipe.c
index 384c2c514fb..ec50f63d9b5 100644
--- a/src/vnet/devices/pipe/pipe.c
+++ b/src/vnet/devices/pipe/pipe.c
@@ -167,7 +167,7 @@ pipe_tx (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * frame)
vlib_put_next_frame (vm, node, next_index, n_left_to_next);
}
- return n_left_from;
+ return frame->n_vectors;
}
static u8 *