From ee4efa7c39c914eb908e7fd629b18585cfa70b4a Mon Sep 17 00:00:00 2001 From: Lijian Zhang Date: Mon, 13 Aug 2018 16:34:21 +0800 Subject: Fix a bug in function pipe_rx GCC 7 found this issue with a compiling warning, and this bug has been confirmed by module owner. Change-Id: If29e857b3a87f91f08674aee6993b075fcff87e7 Signed-off-by: Lijian Zhang --- src/vnet/devices/pipe/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/devices') diff --git a/src/vnet/devices/pipe/pipe.c b/src/vnet/devices/pipe/pipe.c index aea766a71fd..9d388862229 100644 --- a/src/vnet/devices/pipe/pipe.c +++ b/src/vnet/devices/pipe/pipe.c @@ -390,7 +390,7 @@ pipe_rx (vlib_main_t * vm, vlib_validate_buffer_enqueue_x2 (vm, node, next_index, to_next, n_left_to_next, - bi0, bi1, next0, next0); + bi0, bi1, next0, next1); } while (n_left_from > 0 && n_left_to_next > 0) { -- cgit 1.2.3-korg