All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iptables-save saves hashlimit rules with error
@ 2008-08-02 16:55 Phil Oester
  2008-08-04 11:29 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Oester @ 2008-08-02 16:55 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

In bugzilla 550, Xeb notes that the --hashlimit-htable-gcinterval argument
is saved incorrectly.  Patch below corrects.

Phil

Patch-from: Xeb <xeb@mail.ru>
Signed-off-by: Phil Oester <kernel@linuxace.com>


[-- Attachment #2: patch-hashlimit --]
[-- Type: text/plain, Size: 660 bytes --]

diff -ur iptables-1.4.0.orig/extensions/libxt_hashlimit.c iptables-1.4.0/extensions/libxt_hashlimit.c
--- iptables-1.4.0.orig/extensions/libxt_hashlimit.c	2007-10-15 16:45:09.000000000 +0400
+++ iptables-1.4.0/extensions/libxt_hashlimit.c	2008-07-18 07:18:06.000000000 +0400
@@ -613,7 +613,7 @@
 	if (r->cfg.max)
 		printf("--hashlimit-htable-max %u ", r->cfg.max);
 	if (r->cfg.gc_interval != XT_HASHLIMIT_GCINTERVAL)
-		printf("--hashlimit-htable-gcinterval %u", r->cfg.gc_interval);
+		printf("--hashlimit-htable-gcinterval %u ", r->cfg.gc_interval);
 	if (r->cfg.expire != XT_HASHLIMIT_EXPIRE)
 		printf("--hashlimit-htable-expire %u ", r->cfg.expire);
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] iptables-save saves hashlimit rules with error
  2008-08-02 16:55 [PATCH] iptables-save saves hashlimit rules with error Phil Oester
@ 2008-08-04 11:29 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2008-08-04 11:29 UTC (permalink / raw)
  To: Phil Oester; +Cc: netfilter-devel

Phil Oester wrote:
> In bugzilla 550, Xeb notes that the --hashlimit-htable-gcinterval argument
> is saved incorrectly.  Patch below corrects.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-04 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-02 16:55 [PATCH] iptables-save saves hashlimit rules with error Phil Oester
2008-08-04 11:29 ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.