diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-07-15 12:14:55 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-07-24 20:45:07 +0200 |
commit | 88b73a2bad9fc02355fad70698cc2c9469048abc (patch) | |
tree | 28e982612f5758ddc710c63b86449b60fd4b7ff4 | |
parent | 51340f7b6a1103b12d86ef488f7140406d80401e (diff) | |
download | platform_external_iptables-88b73a2bad9fc02355fad70698cc2c9469048abc.tar.gz platform_external_iptables-88b73a2bad9fc02355fad70698cc2c9469048abc.tar.bz2 platform_external_iptables-88b73a2bad9fc02355fad70698cc2c9469048abc.zip |
libxt_recent: restore minimum value for --seconds
This checking was accidentally removed in (74ded72 libxt_recent:
add --mask netmask).
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | extensions/libxt_recent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_recent.c b/extensions/libxt_recent.c index 42c866cd..b3510d99 100644 --- a/extensions/libxt_recent.c +++ b/extensions/libxt_recent.c @@ -62,7 +62,7 @@ static const struct xt_option_entry recent_opts_v1[] = { {.name = "remove", .id = O_REMOVE, .type = XTTYPE_NONE, .excl = F_ANY_OP, .flags = XTOPT_INVERT}, {.name = "seconds", .id = O_SECONDS, .type = XTTYPE_UINT32, - .flags = XTOPT_PUT, XTOPT_POINTER(s, seconds)}, + .flags = XTOPT_PUT, XTOPT_POINTER(s, seconds), .min = 1}, {.name = "reap", .id = O_REAP, .type = XTTYPE_NONE, .also = F_SECONDS }, {.name = "hitcount", .id = O_HITCOUNT, .type = XTTYPE_UINT32, |