aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2024-08-28 11:41:46 +0200
committerFlorin Coras <florin.coras@gmail.com>2024-08-28 15:41:50 +0000
commit51ca1ea2a6de2a37c0d90ab29f745eaeb974ffac (patch)
tree8d4ed13a82ae2625e5956219abfa0e8bd831cab3 /src/vnet/ip
parent61409d2df6128719630e2913378676021f1d393d (diff)
ip6: fix error in ip6_input_check
Type: fix Change-Id: Ibe8ee27484c3b7b920529fd082b1e46b7daef1e5 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/ip')
-rw-r--r--src/vnet/ip/ip6_input.h2
1 files changed, 1 insertions, 1 deletions
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)
{