Displaying 1 result from an estimated 1 matches for "cost_to_bytes".
2017 Jan 12
0
[Bug 1111] New: extensions: libxt_hashlimit: fix print_rate.
...there are other similar printf placeholders that would benefit from the
same fix in libxt_hashlimit, but they are less critical (error reporting).
I am also uneasy with print_rate period parameter as uint32, I believe it
should have switched to uint64 with revision 2 of hashlimit.
There is also the cost_to_bytes and bytes_to_cost which I am unable to decide
whether the max divider and multiplier should cope with uint64 and not stay
hardcoded to uint32.
All in all this patch fixes the only critical bug I experience with rev2 of
hashlimit but the above points might deserves bugs of their own.
--
You are...