diff options
author | Florian Westphal <fw@strlen.de> | 2019-07-21 12:18:31 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2019-07-30 15:46:36 +0200 |
commit | 423abaa40ec47204a08b2e4d3383b7b74acd1d0a (patch) | |
tree | 3d28d7598ab1200df6b1267f6fe9bea1bf90261c /src/parser_bison.y | |
parent | 25a0de69ea6874c992b703125c6354b006eb6ed1 (diff) |
scanner: don't rely on fseek for input stream repositioning
It doesn't work when reading from a pipe, leading to parser
errors in case of 'cat foo | nft -f -', whereas 'nft -f < foo'
works fine.
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1354
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions