From 51ca1ea2a6de2a37c0d90ab29f745eaeb974ffac Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Wed, 28 Aug 2024 11:41:46 +0200 Subject: ip6: fix error in ip6_input_check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Type: fix Change-Id: Ibe8ee27484c3b7b920529fd082b1e46b7daef1e5 Signed-off-by: Benoît Ganne --- src/vnet/ip/ip6_input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet') diff --git a/src/vnet/ip/ip6_input.h b/src/vnet/ip/ip6_input.h index 809083137e3..25eae62723d 100644 --- a/src/vnet/ip/ip6_input.h +++ b/src/vnet/ip/ip6_input.h @@ -102,7 +102,7 @@ ip6_input_check_x2 (vlib_main_t *vm, vlib_node_runtime_t *error_node, } if (PREDICT_FALSE (error1 != IP6_ERROR_NONE)) { - p1->error = error_node->errors[error0]; + p1->error = error_node->errors[error1]; if (error1 == IP6_ERROR_TIME_EXPIRED) { -- cgit 1.2.3-korg