ip: change icmp4 throttle

traceroute sends 3 packets rapidly that triggers and depends on ICMP error
generation. The current ICMP4 throttle setting at 1-e3 throttles the last
ICMP error and makes traceroute sit in a timeout.

Type: fix
Change-Id: Ie886303600ad0374dcb6ae311e949154727a93d2
Signed-off-by: Ole Troan <otroan@employees.org>
This commit is contained in:
Ole Troan
2023-04-24 16:02:44 +02:00
committed by Neale Ranns
parent 61cdc09810
commit 816b5d613c
+1 -1
View File
@@ -590,7 +590,7 @@ icmp4_init (vlib_main_t * vm)
vlib_thread_main_t *tm = &vlib_thread_main;
u32 n_vlib_mains = tm->n_vlib_mains;
throttle_init (&icmp_throttle, n_vlib_mains, THROTTLE_BITS, 1e-3);
throttle_init (&icmp_throttle, n_vlib_mains, THROTTLE_BITS, 1e-5);
return 0;
}