[Bug 1354] cat foo.nft | nft -f - produces syntax error not seen with nft -f foo.nft

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Sun Jul 21 12:21:53 CEST 2019


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

Florian Westphal <fw at strlen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at strlen.de
             Status|NEW                         |ASSIGNED
           Assignee|pablo at netfilter.org         |fw at strlen.de

--- Comment #2 from Florian Westphal <fw at strlen.de> ---
(In reply to Jonas Schäfer from comment #1)
> Note, this is with nft v0.9.0, I was unable to build nft v0.9.1 or master on
> my machine within reasonable time due to dependencies. Sorry if this bug is
> fixed in v0.9.1+; I was unable to find anything related to this in the
> bugzilla.

Its not fixed.  This is caused by the scanner -- it relies on fseek() to
re-position the input stream, but that only works for files.
I'll send a patch to switch to fgetc().

-- 
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/20190721/1e64f60e/attachment.html>


More information about the netfilter-buglog mailing list