netpfil tests: disable ICMPv6 rate limiting in the test jail

The dummynet test uses flood ping as source of traffic, so the rate
limiting of ICMP replies broke the test.

Fixes:	32aeee8ce7
This commit is contained in:
Gleb Smirnoff 2024-03-24 19:54:34 -07:00
parent 4399e055ea
commit 75d15e893b

View file

@ -387,6 +387,7 @@ queue_v6_body()
jexec alcatraz ifconfig ${epair}b inet6 2001:db8:42::2 no_dad up
jexec alcatraz /usr/sbin/inetd -p inetd-alcatraz.pid \
$(atf_get_srcdir)/../pf/echo_inetd.conf
jexec alcatraz sysctl net.inet6.icmp6.errppslimit=0
# Sanity check
atf_check -s exit:0 -o ignore ping6 -i .1 -c 3 -s 1200 2001:db8:42::2