Bug goes back to v1.4.12~3^2~11. Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx> --- extensions/libxt_hashlimit.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/libxt_hashlimit.c b/extensions/libxt_hashlimit.c index a838680..89320bb 100644 --- a/extensions/libxt_hashlimit.c +++ b/extensions/libxt_hashlimit.c @@ -315,7 +315,7 @@ static void hashlimit_check(struct xt_fcheck_call *cb) xtables_error(PARAMETER_PROBLEM, "You have to specify --hashlimit"); if (!(cb->xflags & F_HTABLE_EXPIRE)) - info->cfg.expire = udata->mult; + info->cfg.expire = udata->mult * 1000; /* from s to msec */ } static void hashlimit_mt_check(struct xt_fcheck_call *cb) @@ -327,7 +327,7 @@ static void hashlimit_mt_check(struct xt_fcheck_call *cb) xtables_error(PARAMETER_PROBLEM, "You have to specify --hashlimit"); if (!(cb->xflags & F_HTABLE_EXPIRE)) - info->cfg.expire = udata->mult; + info->cfg.expire = udata->mult * 1000; /* from s to msec */ } static const struct rates -- 1.7.3.4 -- 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