<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 - nft commandline tool can't parse negative priority values."
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1254">1254</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>nft commandline tool can't parse negative priority values.
          </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>Ubuntu
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </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>bugnftables@mailinator.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>nft add chain raw PREROUTING { type filter hook prerouting priority -300\; }
nft add chain raw PREROUTING { type filter hook prerouting priority -300 \; }
nft: invalid option -- '3'

Tried different variants, tried to escape the - minus and set it into "&'.

Tried different nftables Versions up to nftables 0.8.2-1 and kernel 4.15.

Build a file and read it with nft -f works, but is not my preferred method.

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