diff options
author | Benoît Ganne <bganne@cisco.com> | 2024-08-28 11:41:46 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-08-28 15:41:50 +0000 |
commit | 51ca1ea2a6de2a37c0d90ab29f745eaeb974ffac (patch) | |
tree | 8d4ed13a82ae2625e5956219abfa0e8bd831cab3 /src | |
parent | 61409d2df6128719630e2913378676021f1d393d (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')
-rw-r--r-- | src/vnet/ip/ip6_input.h | 2 |
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) { |