All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Sowden <jeremy@azazel.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Netfilter Devel <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH nft] src: extend --stateless to suppress output of non-dynamic set elements.
Date: Mon, 21 Oct 2019 08:50:04 +0100	[thread overview]
Message-ID: <20191021075002.GA28709@azazel.net> (raw)
In-Reply-To: <20191020194403.19298-1-jeremy@azazel.net>

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

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@azazel.net>
> ---
>  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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2019-10-21  7:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-20 19:44 [PATCH nft] src: extend --stateless to suppress output of non-dynamic set elements Jeremy Sowden
2019-10-21  7:50 ` Jeremy Sowden [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191021075002.GA28709@azazel.net \
    --to=jeremy@azazel.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.