<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Error message counts 1 tab character as 8 characters"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1296">1296</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Error message counts 1 tab character as 8 characters
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Debian GNU/Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>trivial
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>nft
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Vincent.VSmeets@GMail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=550" name="attach_550" title="nft file idented with tab characters">attachment 550</a> <a href="attachment.cgi?id=550&action=edit" title="nft file idented with tab characters">[details]</a></span>
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@PC-Vincent:~$ sudo nft -f dummy.nft 
dummy.nft:5:20-31: Error: syntax error, unexpected string
        ip syntax-error accept
                         ^^^^^^^^^^^^
vincent@PC-Vincent:~$ 




Attached is the file dummy.nft with tab characters.

Regards,
Vincent</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>