ip6: fix error in ip6_input_check

Type: fix

Change-Id: Ibe8ee27484c3b7b920529fd082b1e46b7daef1e5
Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:
Benoît Ganne
2024-08-28 11:41:46 +02:00
committed by Florin Coras
parent 61409d2df6
commit 51ca1ea2a6

View File

@ -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)
{