summaryrefslogtreecommitdiffstats
path: root/include/nftables
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2025-01-07 00:00:50 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2025-01-10 11:21:02 +0100
commit8c35615297983227cac1437edbe0cdedf4c2227b (patch)
tree0358733dd745147a1b29bade35699a468900b5c0 /include/nftables
parent91dc281a82ea68e32f0a6eda54605e900d77aeee (diff)
scanner: better error reporting for CRLF line terminatorsHEADmaster
Provide a hint to users that file is coming with CRLF line terminators, maybe from a non-Linux OS. Extend scanner.l to provide hint on CRLF in files: # file test.nft test.nft: ASCII text, with CRLF, LF line terminators # nft -f test.nft test.nft:1:13-14: Error: syntax error, unexpected CRLF line terminators table ip x { ^^ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/nftables')
0 files changed, 0 insertions, 0 deletions