[iptables PATCH] man: extensions: recent: Clarify default value of ip_list_hash_size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The default value of 0 is a bit confusing.

Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 extensions/libxt_recent.man | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/extensions/libxt_recent.man b/extensions/libxt_recent.man
index 419be2579594d..82537fab9846f 100644
--- a/extensions/libxt_recent.man
+++ b/extensions/libxt_recent.man
@@ -97,7 +97,9 @@ Number of addresses remembered per table.
 Number of packets per address remembered.
 .TP
 \fBip_list_hash_size\fP=\fI0\fP
-Hash table size. 0 means to calculate it based on ip_list_tot, default: 512.
+Hash table size. 0 means to calculate it based on ip_list_tot by rounding it up
+to the next power of two (with \fBip_list_tot\fP defaulting to \fI100\fP,
+\fBip_list_hash_size\fP will calculate to \fI128\fP by default).
 .TP
 \fBip_list_perms\fP=\fI0644\fP
 Permissions for /proc/net/xt_recent/* files.
-- 
2.43.0





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux