aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
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)
{