<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 produces incorrect output when a reject rule is added using nft -f"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=993">993</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>nft produces incorrect output when a reject rule is added using nft -f
          </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>Fedora
          </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>lantw44@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When I inserted this simple rule using 'nft -f':
table inet filter {
    chain input {
        reject with icmp type host-prohibited
    }
}

'nft list table inet filter' showed differenct output:
table inet filter {
    chain input {
        reject
    }
}

Things after the reject command are missing. This problem doesn't happen when
the rule is added using 'nft add rule'.

When I tried to restore the settings produced by 'nft list table inet filter',
it showed 'Error: Could not process rule: Invalid argument' on Fedora 21 (which
uses Linux 3.17.7), but it worked on Fedora rawhide (which uses Linux 3.18.1).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>