[Bug 1511] New: JSON encoder prints warnings to stdout
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Tue Mar 9 18:18:46 CET 2021
https://bugzilla.netfilter.org/show_bug.cgi?id=1511
Bug ID: 1511
Summary: JSON encoder prints warnings to stdout
Product: nftables
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: kfm at plushkava.net
The encoder may emit warnings to stdout, resulting in malformed JSON.
# nft -j list ruleset | grep -m1 ^warning
warning: stmt ops chain have no json callback
# nft -j list ruleset | jq .
jq: parse error: Invalid numeric literal at line 1, column 8
--
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/20210309/ee03cf4f/attachment-0001.html>
More information about the netfilter-buglog
mailing list