[Bug 1014] "nft list chain xx yy" list also sets from the table xx

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue Jun 7 14:26:17 CEST 2016


https://bugzilla.netfilter.org/show_bug.cgi?id=1014

Pablo Neira Ayuso <pablo at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> ---
With current nft 0.6, you can list the existing set declarations via:

# nft list sets

This shows no elements, only the declaration.

Thus, you avoid the long listing in case the set contains many elements

Then, if you want to see the content you can invoke:

# nft list set TABLE NAME

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20160607/3880be63/attachment.html>


More information about the netfilter-buglog mailing list