[Bug 1100] New: Support 'nft flush set'

bugzilla-daemon at netfilter.org
2016-11-25T14:08:04Z

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

            Bug ID: 1100
           Summary: Support 'nft flush set'
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: phil at nwl.cc

Trying to flush a set just like one would (successfully) with a chain or table
feels natural but sadly is not supported at all:

$ sudo ./git/nftables/src/nft flush set inet filter blacklist6
BUG: invalid command object type 2
nft: rule.c:1245: do_command_flush: Assertion `0' failed.
zsh: abort      sudo ./git/nftables/src/nft flush set inet filter blacklist6

Although the output reads 'BUG', this is actually not - it's merely
an
unimplemented feature.

Others seem to have gone through quite some pain in order to work around this
limitation:

https://www.spinics.net/lists/netfilter-devel/msg44240.html

--
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/20161125/d3de49c1/attachment.html>