aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaxime Peim <mpeim@cisco.com>2024-05-24 15:29:50 +0200
committerMaxime Peim <mpeim@cisco.com>2024-05-24 15:29:50 +0200
commitfe736b2af9366d0cd00ff2f9ab6ccaba50f0ee8b (patch)
tree1e3173b27586420300a64cb0faa5abb23543519d /src
parent0b0468cb0fc363483a88b9dfdee82da843e4e9e2 (diff)
ip6: fix icmp throttling error index
Type: fix Change-Id: I57ce42c193fd9408b9d4790482ea76d784148c30 Signed-off-by: Maxime Peim <mpeim@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ip/icmp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/icmp6.c b/src/vnet/ip/icmp6.c
index b095f679cc8..f93ebce4bf1 100644
--- a/src/vnet/ip/icmp6.c
+++ b/src/vnet/ip/icmp6.c
@@ -338,7 +338,7 @@ ip6_icmp_error (vlib_main_t * vm,
if (throttle_check (&icmp_throttle, thread_index, r0, seed))
{
- vlib_error_count (vm, node->node_index, ICMP4_ERROR_DROP, 1);
+ vlib_error_count (vm, node->node_index, ICMP6_ERROR_DROP, 1);
from += 1;
n_left_from -= 1;
continue;