summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_limit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_limit.c b/extensions/libxt_limit.c
index c88d26b8..6652849a 100644
--- a/extensions/libxt_limit.c
+++ b/extensions/libxt_limit.c
@@ -184,7 +184,7 @@ static int limit_xlate(const void *ip, const struct xt_entry_match *match,
xt_xlate_add(xl, "limit rate");
print_rate_xlate(r->avg, xl);
- if (r->burst != XT_LIMIT_BURST)
+ if (r->burst != 0)
xt_xlate_add(xl, "burst %u packets ", r->burst);
return 1;