commit | 51ca1ea2a6de2a37c0d90ab29f745eaeb974ffac | [log] [tgz] |
---|---|---|
author | Benoît Ganne <bganne@cisco.com> | Wed Aug 28 11:41:46 2024 +0200 |
committer | Florin Coras <florin.coras@gmail.com> | Wed Aug 28 15:41:50 2024 +0000 |
tree | 8d4ed13a82ae2625e5956219abfa0e8bd831cab3 | |
parent | 61409d2df6128719630e2913378676021f1d393d [diff] [blame] |
ip6: fix error in ip6_input_check Type: fix Change-Id: Ibe8ee27484c3b7b920529fd082b1e46b7daef1e5 Signed-off-by: Benoît Ganne <bganne@cisco.com>
diff --git a/src/vnet/ip/ip6_input.h b/src/vnet/ip/ip6_input.h index 8090831..25eae62 100644 --- a/src/vnet/ip/ip6_input.h +++ b/src/vnet/ip/ip6_input.h
@@ -102,7 +102,7 @@ } 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) {