summaryrefslogtreecommitdiffstats
path: root/iptables-test.py
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-08-09 18:48:58 +0200
committerPhil Sutter <phil@nwl.cc>2021-08-10 17:45:06 +0200
commitbef9dc575625a98a5e6ed8ca37e49031cdba5937 (patch)
treed8fe63687741e951be4f950025033e9e00edb4fe /iptables-test.py
parent943fbf3e1850ae1f52f29c2f4f2aca399779b368 (diff)
extensions: hashlimit: Fix tests with HZ=100
With the kernel ticking at 100Hz, a limit of 1/day with burst 5 does not overflow in kernel, making the test unstable depending on kernel config. Change it to not overflow with 1000Hz either by increasing the burst value by a factor of 100. Fixes: fcf9f6f25db11 ("extensions: libxt_hashlimit: add unit test") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables-test.py')
0 files changed, 0 insertions, 0 deletions