path: root/extensions
diff options
authorJan Engelhardt <>2008-09-01 14:28:12 +0200
committerPatrick McHardy <>2008-09-01 14:28:12 +0200
commita4be7cb319212ba7907a541bbb5f9af1ffa7db0f (patch)
tree2bd24d943a3036acc2afa1d161e0d2f5183735d8 /extensions
parent9e812285f071696c867adfb344dc0eb19af7136a (diff)
libxt_recent: do allow --rttl for --update
Tony Ho noticed a too-strict check in xt_recent, so here is a fix. Reported-by: Tony Ho <> Signed-off-by: Jan Engelhardt <> Signed-off-by: Patrick McHardy <>
Diffstat (limited to 'extensions')
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_recent.c b/extensions/libipt_recent.c
index 94f246a6..7281fe5f 100644
--- a/extensions/libipt_recent.c
+++ b/extensions/libipt_recent.c
@@ -165,7 +165,7 @@ static void recent_check(unsigned int flags)
"recent: you must specify one of `--set', `--rcheck' "
"`--update' or `--remove'");
if ((flags & IPT_RECENT_TTL) &&
"recent: --rttl may only be used with --rcheck or "
diff --git a/extensions/ b/extensions/
index 02432bac..d5bdaa0b 100644
--- a/extensions/
+++ b/extensions/
@@ -50,7 +50,7 @@ than or equal to the given value. This option may be used along with
number of hits within a specific time frame.
-This option must be used in conjunction with one of \fB--rcheck\fR or
+This option may only be used in conjunction with one of \fB--rcheck\fR or
\fB--update\fR. When used, this will narrow the match to only happen
when the address is in the list and the TTL of the current packet
matches that of the packet which hit the \fB--set\fR rule. This may be