Re: [PATCH nft] src: extend --stateless to suppress output of non-dynamic set elements.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2019-10-20, at 20:44:03 +0100, Jeremy Sowden wrote:
> Currently, --stateless only suppresses the output of the contents of
> dynamic sets.  Extend it to support an optional parameter which may be
> `dynamic` (the current behaviour) or `all`.  If it is `all`, `nft
> list` will also omit the elements of sets which are not marked
> `dynamic`.
>
> Link: https://bugzilla.netfilter.org/show_bug.cgi?id=1374
> Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx>
> ---
>  doc/libnftables.adoc           |  7 +++++--
>  include/nftables.h             |  5 +++++
>  include/nftables/libnftables.h |  1 +
>  src/main.c                     | 15 +++++++++++++--
>  src/rule.c                     |  3 ++-
>  5 files changed, 26 insertions(+), 5 deletions(-)

Haven't updated the man-page.  Will send out v2 shortly.

J.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux