Skip to contentSkip to conversation

iptables fix for bug 568

PATCH New Peter Volkov 1 participant 1 message Jan 22, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iptables fix for bug 568

Hello, guys. Please, review attached patch. It should fix:

http://bugzilla.netfilter.org/show_bug.cgi?id=568

At least it did for me with testcase user provided in our bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=254496

Signature · 1 line
Peter.

Author: [email protected]
Fixes bug http://bugs.gentoo.org/show_bug.cgi?id=254496

=== modified file 'extensions/libxt_hashlimit.c'

libxt_hashlimit.c +1 -1
@@ -636,7 +636,7 @@
 	if (info->cfg.max != 0)
 		printf("--hashlimit-htable-max %u ", info->cfg.max);
 	if (info->cfg.gc_interval != XT_HASHLIMIT_GCINTERVAL)
-		printf("--hashlimit-htable-gcinterval %u", info->cfg.gc_interval);
+		printf("--hashlimit-htable-gcinterval %u ", info->cfg.gc_interval);
 	if (info->cfg.expire != XT_HASHLIMIT_EXPIRE)
 		printf("--hashlimit-htable-expire %u ", info->cfg.expire);