<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 - Cannot parse negative priorities from command line"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1083">1083</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot parse negative priorities from command line
          </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>RedHat Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </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>georg@fleig.xyz
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Adding a chain with a negative priority using the command line is not possible.

E.g. the IPv4 nat example provided by this software:
nft add chain nat prerouting { type nat hook prerouting priority -150\; }

Returns:
nft: invalid option -- '1'

However, when this is stored in a file and loaded using nft -f <file> it works
without problems. So negative priorities seem to work but can not be configured
directly on the command line.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>