bugzilla-daemon at netfilter.org
2018-Nov-14  18:05 UTC
[Bug 1296] New: Error message counts 1 tab character as 8 characters
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>
bugzilla-daemon at netfilter.org
2020-Dec-01  20:05 UTC
[Bug 1296] Error message counts 1 tab character as 8 characters
https://bugzilla.netfilter.org/show_bug.cgi?id=1296
kfm at plushkava.net changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kfm at plushkava.net
-- 
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/20201201/39d08190/attachment.html>
bugzilla-daemon at netfilter.org
2020-Dec-08  16:51 UTC
[Bug 1296] Error message counts 1 tab character as 8 characters
https://bugzilla.netfilter.org/show_bug.cgi?id=1296
Pablo Neira Ayuso <pablo at netfilter.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> ---
Upstream fix, available since 0.8.4
2f86dd5a43ba erec: Review erec_print()
-- 
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/20201208/a26df1d7/attachment.html>