[Bug 1296] New: Error message counts 1 tab character as 8 characters

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Nov 14 19:05:55 CET 2018


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

            Bug ID: 1296
           Summary: Error message counts 1 tab character as 8 characters
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Debian GNU/Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: Vincent.VSmeets at GMail.com

Created attachment 550
  --> https://bugzilla.netfilter.org/attachment.cgi?id=550&action=edit
nft file idented with tab characters

In case the input file is indented by tab characters, then the error messages
are not correctly alligned. Every tab character is then counted as 8
characters.


vincent at PC-Vincent:~$ sudo nft -f dummy.nft 
dummy.nft:5:20-31: Error: syntax error, unexpected string
        ip syntax-error accept
                         ^^^^^^^^^^^^
vincent at PC-Vincent:~$ 




Attached is the file dummy.nft with tab characters.

Regards,
Vincent

-- 
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/20181114/07bed2f6/attachment.html>


More information about the netfilter-buglog mailing list