Message ID | 20180611155302.8191-1-pablo@netfilter.org |
---|---|
State | Changes Requested |
Delegated to: | Pablo Neira |
Headers | show |
Series | [nft] rule: do not print default burst for objects | expand |
diff --git a/src/rule.c b/src/rule.c index 56b956a4f8fe..a86b0c696967 100644 --- a/src/rule.c +++ b/src/rule.c @@ -1479,7 +1479,7 @@ static void obj_print_data(const struct obj *obj, nft_print(octx, "rate %s%" PRIu64 "/%s", inv ? "over " : "", obj->limit.rate, get_unit(obj->limit.unit)); - if (obj->limit.burst > 0) + if (obj->limit.burst != 5) nft_print(octx, " burst %u packets", obj->limit.burst); break;
Similar to 3dddef928d80d. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> --- src/rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)