<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:gdouezangrard@gmail.com" title="gdouezangrard@gmail.com">gdouezangrard@gmail.com</a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Error when atomically replacing rules with symbolic variables"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1358">bug 1358</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Error when atomically replacing rules with symbolic variables"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1358#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Error when atomically replacing rules with symbolic variables"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1358">bug 1358</a>
              from <span class="vcard"><a class="email" href="mailto:gdouezangrard@gmail.com" title="gdouezangrard@gmail.com">gdouezangrard@gmail.com</a>
</span></b>
        <pre>1. I don't need to test your example to know that it doesn't work. The fixed
version is the following (I removed the "inet filter input" prefix):

  #!/sbin/nft -f

  define ifs = { lo }

  table inet filter {
    chain input {
      type filter hook input priority 0; policy drop;
      iifname $ifs accept
    }
  }

2. It is perfectly allowed to "put rules outside of the brackets". It is
especially useful when rules are generated automatically and imported in the
main configuration file that defines the tables / chains. It's just a different
syntax for the same thing. Moreover, I already explained in the main report
that it worked properly before, and it worked successfully with nftables v0.9.1
*except* when doing atomic rule replacement.

3. Finally, the issue was solved with the release of nftables v0.9.2.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>