summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-01-19 18:13:23 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-01-19 18:13:23 +0100
commit6ce22ff936611347f1154c8546c93f4781be199d (patch)
tree090033a6be25b7199de5dba635f3eb476ab46c2e /extensions
parent00294095405560855d0815a5c39e948d67bf798d (diff)
recent: reorder cases in code (cosmetic cleanup)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_recent.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/libxt_recent.c b/extensions/libxt_recent.c
index 5add2288..4ac32f73 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;