From: Jan Engelhardt <jengelh@medozas.de>
To: kaber@trash.net
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 2/7] recent: reorder cases in code (cosmetic cleanup)
Date: Mon, 1 Feb 2010 01:19:48 +0100 [thread overview]
Message-ID: <1264983594-20871-3-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1264983594-20871-1-git-send-email-jengelh@medozas.de>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
extensions/libxt_recent.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/extensions/libxt_recent.c b/extensions/libxt_recent.c
index 5add228..4ac32f7 100644
--- a/extensions/libxt_recent.c
+++ b/extensions/libxt_recent.c
@@ -101,6 +101,14 @@ static int recent_parse(int c, char **argv, int invert, unsigned int *flags,
*flags |= XT_RECENT_UPDATE;
break;
+ case 204:
+ info->seconds = atoi(optarg);
+ break;
+
+ case 205:
+ info->hit_count = atoi(optarg);
+ break;
+
case 206:
if (*flags & RECENT_CMDS)
xtables_error(PARAMETER_PROBLEM,
@@ -112,14 +120,6 @@ static int recent_parse(int c, char **argv, int invert, unsigned int *flags,
*flags |= XT_RECENT_REMOVE;
break;
- case 204:
- info->seconds = atoi(optarg);
- break;
-
- case 205:
- info->hit_count = atoi(optarg);
- break;
-
case 207:
info->check_set |= XT_RECENT_TTL;
*flags |= XT_RECENT_TTL;
--
1.6.6.1
next prev parent reply other threads:[~2010-02-01 0:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-01 0:19 Misc doc fixes and two patches Jan Engelhardt
2010-02-01 0:19 ` [PATCH 1/7] libipq: build as shared library Jan Engelhardt
2010-02-01 0:19 ` Jan Engelhardt [this message]
2010-02-01 0:19 ` [PATCH 3/7] doc: fix recent manpage to reflect actual supported syntax Jan Engelhardt
2010-02-01 0:19 ` [PATCH 4/7] doc: fix limit " Jan Engelhardt
2010-02-01 0:19 ` [PATCH 5/7] doc: mention requirement of additional packages for ipset Jan Engelhardt
2010-02-01 0:19 ` [PATCH 6/7] policy: fix error message showing wrong option Jan Engelhardt
2010-02-01 0:19 ` [PATCH 7/7] includes: header updates Jan Engelhardt
2010-02-01 13:58 ` Misc doc fixes and two patches Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1264983594-20871-3-git-send-email-jengelh@medozas.de \
--to=jengelh@medozas.de \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).