[PATCH 2/7] recent: reorder cases in code (cosmetic cleanup)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux