[Bug 1224] New: nft export json fails with successful return code

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue Feb 6 01:29:50 CET 2018


            Bug ID: 1224
           Summary: nft export json fails with successful return code
           Product: nftables
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: anthonyryan1 at gmail.com

I recently upgraded to nftables v0.8.2 and encountered a regression.

"nft export json" no longer works, it returns a success code (0), but doens't
print any JSON data.

A git bisect determined this was introduced in commit
2fa54d8a49352bda44d3e25d1d7ba3531faf3303, and upon reading that commit, I
noticed the introduction of "nft export vm json" which does work as expected.

I believe "nft export json" should either export json like it did before this
commit, or return a non-zero code if this is the intended functionality.

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/20180206/8f464dfc/attachment-0001.html>

More information about the netfilter-buglog mailing list