aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iptables/patches/410-add_reap_again.patch
blob: 0bb40fbcf0fafe9368ae7216218921f6f9742291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: iptables-1.4.19.1/extensions/libxt_recent.c
===================================================================
--- iptables-1.4.19.1.orig/extensions/libxt_recent.c
+++ iptables-1.4.19.1/extensions/libxt_recent.c
@@ -63,6 +63,8 @@ static const struct xt_option_entry rece
 	 .excl = F_ANY_OP, .flags = XTOPT_INVERT},
 	{.name = "seconds", .id = O_SECONDS, .type = XTTYPE_UINT32,
 	 .flags = XTOPT_PUT, XTOPT_POINTER(s, seconds)},
+	{.name = "reap", .id = O_REAP, .type = XTTYPE_NONE,
+	 .also = F_SECONDS },
 	{.name = "hitcount", .id = O_HITCOUNT, .type = XTTYPE_UINT32,
 	 .flags = XTOPT_PUT, XTOPT_POINTER(s, hit_count)},
 	{.name = "rttl", .id = O_RTTL, .type = XTTYPE_NONE,